Re: [PATCH 5 of 7] block: Block/request layer data integritysupport

From: Greg KH
Date: Sun Jun 08 2008 - 00:32:05 EST


On Sat, Jun 07, 2008 at 12:55:38AM -0400, Martin K. Petersen wrote:
> +5.1 NORMAL FILESYSTEM
> +
> + The normal filesystem is unaware that the underlying block device
> + is capable of sending/receiving integrity metadata. The IMD will
> + be automatically generated by the block layer at submit_bio() time
> + in case of a WRITE. A READ request will cause the I/O integrity
> + to be verified upon completion.
> +
> + IMD generation and verification can be toggled using the
> +
> + /sys/class/block/<bdev>/integrity/write_generate
> +
> + and
> +
> + /sys/class/block/<bdev>/integrity/read_verify
> +
> + flags.
> +

All of the sysfs interfaces should be documented in Documentation/ABI/
not here, otherwise they will be tough to find and figure out how to
use :)

thanks,

greg k-h
--
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/