]> git.baikalelectronics.ru Git - kernel.git/commit
block: add a helper function for dio alignment
authorKeith Busch <kbusch@kernel.org>
Fri, 10 Jun 2022 19:58:24 +0000 (12:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 12:29:11 +0000 (06:29 -0600)
commitacc39598ab6ad86edd8ec5a595327056f78e548a
treeb892f2d4dd32e6312a427d3211aef4a3a619e15a
parent031b5ea572479d9b1dbfcb9914c7b2ce9e24dbfa
block: add a helper function for dio alignment

This will make it easier to add more complex acceptable alignment
criteria in the future.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220610195830.3574005-6-kbusch@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/fops.c