Revision 19cba8abd6ca09527c194864ae651db65cbacfe1 authored by Latchesar Ionkov on 11 October 2005, 15:29:03 UTC, committed by Linus Torvalds on 11 October 2005, 16:46:54 UTC
v9fs_file_read and v9fs_file_write use kmalloc to allocate buffers as big as the data buffer received as parameter. kmalloc cannot be used to allocate buffers bigger than 128K, so reading/writing data in chunks bigger than 128k fails. This patch reorganizes v9fs_file_read and v9fs_file_write to allocate only buffers as big as the maximum data that can be sent in one 9P message. Signed-off-by: Latchesar Ionkov <lucho@ionkov.net> Cc: Eric Van Hensbergen <ericvh@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent ad6ce87
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 455 bytes |
auth.c | -rw-r--r-- | 1.6 KB |
export.c | -rw-r--r-- | 26.4 KB |
lockd.c | -rw-r--r-- | 1.6 KB |
nfs2acl.c | -rw-r--r-- | 8.1 KB |
nfs3acl.c | -rw-r--r-- | 6.3 KB |
nfs3proc.c | -rw-r--r-- | 17.6 KB |
nfs3xdr.c | -rw-r--r-- | 26.5 KB |
nfs4acl.c | -rw-r--r-- | 22.3 KB |
nfs4callback.c | -rw-r--r-- | 14.7 KB |
nfs4idmap.c | -rw-r--r-- | 13.8 KB |
nfs4proc.c | -rw-r--r-- | 27.4 KB |
nfs4recover.c | -rw-r--r-- | 9.7 KB |
nfs4state.c | -rw-r--r-- | 88.5 KB |
nfs4xdr.c | -rw-r--r-- | 62.1 KB |
nfscache.c | -rw-r--r-- | 7.8 KB |
nfsctl.c | -rw-r--r-- | 11.1 KB |
nfsfh.c | -rw-r--r-- | 13.7 KB |
nfsproc.c | -rw-r--r-- | 15.0 KB |
nfssvc.c | -rw-r--r-- | 10.0 KB |
nfsxdr.c | -rw-r--r-- | 12.2 KB |
stats.c | -rw-r--r-- | 2.5 KB |
vfs.c | -rw-r--r-- | 45.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...