]> git.baikalelectronics.ru Git - kernel.git/commit
dm bufio: support non-power-of-two block sizes
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 26 Mar 2018 18:29:46 +0000 (20:29 +0200)
committerMike Snitzer <snitzer@redhat.com>
Tue, 3 Apr 2018 19:04:28 +0000 (15:04 -0400)
commit3931dd1af7e3d79438ace90615910a011309be47
tree16bc63fe23e61bb154d566ebd23f02051ab95ed0
parent9edadb2798ba5137b15497a8c93b9c135e0a29c9
dm bufio: support non-power-of-two block sizes

Support block sizes that are not a power-of-two (but they must be a
multiple of 512b).  As always, a slab cache is used for allocations.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-bufio.c