commit | 707c21c848deeb0200ba3f07e4ba90e6dc419c2f | [log] [tgz] |
---|---|---|
author | Andrew Morton <akpm@osdl.org> | Fri Mar 24 03:18:13 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Mar 24 07:33:26 2006 -0800 |
tree | d8e8f32916ac1f04e45e42595ddd0ef771ddb1ad | |
parent | 9c50823eebf7c256b92b4e0f02b5fb30e97788c2 [diff] |
[PATCH] msync(MS_SYNC): don't hold mmap_sem while syncing It seems bad to hold mmap_sem while performing synchronous disk I/O. Alter the msync(MS_SYNC) code so that the lock is released while we sync the file. Cc: Hugh Dickins <hugh@veritas.com> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>