On Wed, 2008-09-10 at 20:51 +0100, Hugh Dickins wrote: > [PATCH] block: adjust blkdev_issue_discard for swap blkdev_issue_discard() is for naïve callers who don't want to have to think about barriers. You might benefit from issuing discard requests without an implicit softbarrier, for swap. Of course, you then have to ensure that a discard can't still be in-flight and actually happen _after_ a subsequent write to that page. -- David Woodhouse Open Source Technology Centre David.Woodhouse@xxxxxxxxx Intel Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html