dm thin: optimize async discard submission
authorMike Snitzer <snitzer@redhat.com>
Tue, 18 Aug 2015 14:31:09 +0000 (10:31 -0400)
committerMike Snitzer <snitzer@redhat.com>
Tue, 18 Aug 2015 15:36:11 +0000 (11:36 -0400)
commit84f8bd86cc8977c344df572169f7ec10b8188cfa
tree4b6ee470a653ac073289e8b333d479a383a85a74
parent76c44f6d80e151d230844db7ffc058ac21b9e3f2
dm thin: optimize async discard submission

__blkdev_issue_discard_async() doesn't need to worry about further
splitting because the upper layer blkdev_issue_discard() will have
already handled splitting bios such that the bi_size isn't
overflowed.

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