diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-04-12 00:16:04 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-12 00:16:04 -0700 |
| commit | b1c72a96797037b7e62c1fc02bfefbb157ff5f48 (patch) | |
| tree | e7aaa6e417b3adff32db14472731ea286b9968e8 /include/linux | |
| parent | 6d27f67bf6ee2b9ad0c8814118264bc273d916a1 (diff) | |
[PATCH] Use BIO_RW_SYNC in swap write page
From: Jens Axboe <axboe@suse.de>
Dog slow software suspend found this one. If WB_SYNC_ALL, then you need
to mark the bio as sync as well.
This is because swap_writepage() does a remove_exclusive_swap_page() (going
to __delete_from_swap_cache -> __remove_from_page_cache) which can kill
page->mapping, thus aops->sync_page() has nothing to work with for unplugging
the address space.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
