swap: do not send discards as barriers
authorChristoph Hellwig <hch@infradead.org>
Wed, 18 Aug 2010 09:29:20 +0000 (05:29 -0400)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 10 Sep 2010 10:35:39 +0000 (12:35 +0200)
commit349f429eec36cb743fee20f4c193ecde97a3ed2e
treec4618700a2bbb4b7954f048155a095808d69dc45
parente045db80d07250312500b2ed707b84dc703189d6
swap: do not send discards as barriers

The swap code already uses synchronous discards, no need to add I/O barriers.

tj: superflous newlines removed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Hugh Dickins <hughd@google.com>
Tested-by: Nigel Cunningham <nigel@tuxonice.net>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
mm/swapfile.c