diff options
author | 2006-03-24 03:18:13 -0800 | |
---|---|---|
committer | 2006-03-24 07:33:26 -0800 | |
commit | 707c21c848deeb0200ba3f07e4ba90e6dc419c2f (patch) | |
tree | d8e8f32916ac1f04e45e42595ddd0ef771ddb1ad /fs/buffer.c | |
parent | [PATCH] msync(): perform dirty page levelling (diff) | |
download | linux-rng-707c21c848deeb0200ba3f07e4ba90e6dc419c2f.tar.xz linux-rng-707c21c848deeb0200ba3f07e4ba90e6dc419c2f.zip |
[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>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions