diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-01-06 00:19:42 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 08:33:56 -0800 |
commit | 6ad84acab972f4dfc78e6fdb04c419f82c497d29 (patch) | |
tree | d1a1370c158fbbf42b5e6d66e5f8046ac7bb9485 /fs/fuse/dir.c | |
parent | 3ec870d524c9150add120475c8ddcfa50574f98e (diff) | |
download | blackbird-op-linux-6ad84acab972f4dfc78e6fdb04c419f82c497d29.tar.gz blackbird-op-linux-6ad84acab972f4dfc78e6fdb04c419f82c497d29.zip |
[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/fuse/dir.c')
0 files changed, 0 insertions, 0 deletions