summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2014-09-27 01:20:00 +0200
committerJens Axboe <axboe@fb.com>2014-09-27 17:14:50 +0200
commit5a2aa873059fec8b6385071d9c0802893a9b2f41 (patch)
treeec80bcd00c6b507d2a06564373ac6b01c634442e /drivers
parentblock: Deprecate the use of the term sector in the context of block integrity (diff)
downloadlinux-5a2aa873059fec8b6385071d9c0802893a9b2f41.tar.xz
linux-5a2aa873059fec8b6385071d9c0802893a9b2f41.zip
block: Make protection interval calculation generic
Now that the protection interval has been detached from the sector size we need to be able to handle sizes that are different from 4K and 512. Make the interval calculation generic. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions