diff options
| author | Darrick J. Wong <[email protected]> | 2016-10-11 13:51:08 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-10-11 15:06:30 -0700 |
| commit | 28b2be203e5a09de566d6f7e21183f861e36f07e (patch) | |
| tree | fae93d2f35925bafb738ef2172d93e4b68cf60d9 /tools/perf/scripts/python/bin | |
| parent | 22dd6d356628bccb1a83e12212ec2934f4444e2c (diff) | |
block: require write_same and discard requests align to logical block size
Make sure that the offset and length arguments that we're using to
construct WRITE SAME and DISCARD requests are actually aligned to the
logical block size. Failure to do this causes other errors in other parts
of the block layer or the SCSI layer because disks don't support partial
logical block writes.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Cc: Theodore Ts'o <[email protected]>
Cc: Mike Snitzer <[email protected]> # tweaked header
Cc: Brian Foster <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions