lkml.org 
[lkml]   [2008]   [Jun]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 7 Jun 2008 21:27:54 -0700
FromGreg KH <>
SubjectRe: [PATCH 5 of 7] block: Block/request layer data integrity support
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


\
 
 \ /
  Last update: 2008-06-08 06:55    [from the cache]
©2003-2008