On Mon, May 02, 2016 at 05:29:50PM -0400, Mike Snitzer wrote: > Do you have a pointer to either the NVMe or XFS code that is making > use of this new interface? I've just uploaded the XFS code here: http://git.infradead.org/users/hch/vfs.git/commitdiff/512f5ec1bc7428e75e14f3ba1f50844ead40b557 I can't push the whole NVMe target code out, as it implements the still under NDA fabrics code, but the scheme is exactly the same as the XFS code above. > I've been carrying __blkdev_issue_discard_async() in > drivers/md/dm-thin.c for a while and will clean that up now. But that > dm-thin.c code is similar but different from your > __blkdev_issue_discard(). I'd just like to make sure dm-thin.c falls > in line as it should. I think it's basically a subset of __blkdev_issue_discard, so it should be trivial to convert over. > For instance I need to get rid of the > bio_inc_remaining() duplication that is > dm-thin.c:__bio_inc_remaining(). That seems unrelated to the actual async discard, and more about an additional bio_end from somewhere inside the DM code. -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html