diff options
| author | Christoph Hellwig <[email protected]> | 2010-09-09 16:38:10 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-09-09 18:57:25 -0700 |
| commit | 8f2ae0faa3a119158c4dcfe89926d6fad5f5332c (patch) | |
| tree | 720272512fd0dfd1d865d2dc64b30fed811f2d13 /lib/memory-notifier-error-inject.c | |
| parent | b73d7fcecd93dc15eaa3c45c8c587b613f6673c4 (diff) | |
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.
[[email protected]: superflous newlines removed]
Signed-off-by: Christoph Hellwig <[email protected]>
Tested-by: Nigel Cunningham <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Signed-off-by: Hugh Dickins <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: "Martin K. Petersen" <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions