Re: [PATCH] md: Add support for data integrity to MD

From: Martin K. Petersen
Date: Mon Sep 29 2008 - 10:52:27 EST


>>>>> "Neil" == Neil Brown <neilb@xxxxxxx> writes:

Neil> But what if we subsequently add a different device to that array
Neil> which uses a different protection format. Would we be able to
Neil> tell the filesystem that integrity protection isn't available
Neil> any more? Or can we detect if the filesystem is using integrity
Neil> protection, and reject the new device if it doesn't match?

Generally the filesystem will look at the block device's integrity
profile every time it prepares an I/O. So if we add a subdevice and
detect a mismatch the mddev integrity profile should be removed.


Neil> In either case, some extra handling is needed in
Neil> bind_rdev_to_array.

This code has been sitting in my patch queue for several months
waiting for the core of the integrity stuff to go in. So I'm a bit
fuzzy on the details. I'll take a look...

--
Martin K. Petersen Oracle Linux Engineering

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/