summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-09-09 23:38:10 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2010-09-10 01:57:25 (GMT)
commit8f2ae0faa3a119158c4dcfe89926d6fad5f5332c (patch)
tree720272512fd0dfd1d865d2dc64b30fed811f2d13 /include
parentb73d7fcecd93dc15eaa3c45c8c587b613f6673c4 (diff)
downloadlinux-8f2ae0faa3a119158c4dcfe89926d6fad5f5332c.tar.xz
swap: do not send discards as barriers
The swap code already uses synchronous discards, no need to add I/O barriers. This fixes the worst of the terrible slowdown in swap allocation for hibernation, reported on 2.6.35 by Nigel Cunningham; but does not entirely eliminate that regression. [tj@kernel.org: superflous newlines removed] Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Nigel Cunningham <nigel@tuxonice.net> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Hugh Dickins <hughd@google.com> Cc: Jens Axboe <jaxboe@fusionio.com> Cc: James Bottomley <James.Bottomley@hansenpartnership.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions