]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Support a non-power-of-2 discard granularity in dm-thin, now that the block
authorMike Snitzer <snitzer@redhat.com>
Wed, 13 Feb 2013 22:42:35 +0000 (09:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 13 Feb 2013 22:42:35 +0000 (09:42 +1100)
commitc3a0ede39428bd1425d24fc24ca62087144fff50
tree8c8ac800ce2109c3272ee40cafb35bc406c5814c
parent88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7
Support a non-power-of-2 discard granularity in dm-thin, now that the block
layer supports this(via 8dd2cb7e880d2f77fba53b523c99133ad5054cfd "block:
discard granularity might not be power of 2" and
59771079c18c44e39106f0f30054025acafadb41 "blk: avoid divide-by-zero with zero
discard granularity").

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin.c