[dm-devel] [PATCH 0/5] dm thin: adapt code to use new async __blkdev_issue_discard

Mike Snitzer snitzer at redhat.com
Thu May 5 15:54:20 UTC 2016


I'd like to see these changes included in 4.7.

Jens, if you (and hch and others) are OK with the first 2 block
patches can you please add them to your 'for-4.7/core'?

Joe Thornber (1):
  dm thin: unroll issue_discard() to create longer discard bio chains

Mike Snitzer (4):
  block: reinstate early return of -EOPNOTSUPP from blkdev_issue_discard
  block: make bio_inc_remaining() interface accessible again
  dm thin: remove __bio_inc_remaining() and switch to using bio_inc_remaining()
  dm thin: use __blkdev_issue_discard for async discard support

 block/bio.c          |  11 ----
 block/blk-lib.c      |   7 ++-
 drivers/md/dm-thin.c | 159 +++++++++++++++++++++++----------------------------
 include/linux/bio.h  |  11 ++++
 4 files changed, 88 insertions(+), 100 deletions(-)

-- 
2.6.4 (Apple Git-63)




More information about the dm-devel mailing list