diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-01-06 11:19:42 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 19:33:56 +0300 |
commit | 6ad84acab972f4dfc78e6fdb04c419f82c497d29 (patch) | |
tree | d1a1370c158fbbf42b5e6d66e5f8046ac7bb9485 /fs/file.c | |
parent | 3ec870d524c9150add120475c8ddcfa50574f98e (diff) | |
download | linux-6ad84acab972f4dfc78e6fdb04c419f82c497d29.tar.xz |
[PATCH] fuse: ensure progress in read and write
In direct_io mode, send at least one page per reqest. Previously it was
possible that reqests with zero data were sent, and hence the read/write
didn't make any progress, resulting in an infinite (though interruptible)
loop.
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions