From: David Woodhouse Date: Sat, 9 Aug 2008 15:42:20 +0000 (+0100) Subject: Allow elevators to sort/merge discard requests X-Git-Tag: v2.6.28-rc1~733^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e17fc0a1ccf88f6d4dcb363729f3141b0958c325;p=pandora-kernel.git Allow elevators to sort/merge discard requests But blkdev_issue_discard() still emits requests which are interpreted as soft barriers, because naïve callers might otherwise issue subsequent writes to those same sectors, which might cross on the queue (if they're reallocated quickly enough). Callers still _can_ issue non-barrier discard requests, but they have to take care of queue ordering for themselves. Signed-off-by: David Woodhouse Signed-off-by: Jens Axboe --- Reading git-diff-tree failed