]> git.baikalelectronics.ru Git - kernel.git/commit
dm thin: unroll issue_discard() to create longer discard bio chains
authorJoe Thornber <ejt@redhat.com>
Wed, 4 May 2016 18:12:42 +0000 (14:12 -0400)
committerMike Snitzer <snitzer@redhat.com>
Fri, 13 May 2016 13:04:20 +0000 (09:04 -0400)
commit5a8136f339509bddceb576fef8dc03d8923da5c9
tree41d78f7ee52b69471b77ac74d07ac4ae212a2c49
parent4ddcc0535f91a6938b70fa44bbafe15ebe9951ef
dm thin: unroll issue_discard() to create longer discard bio chains

There is little benefit to doing this but it does structure DM thinp's
code to more cleanly use the __blkdev_issue_discard() interface --
particularly in passdown_double_checking_shared_status().

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-thin.c