]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/cifs/cifsfs.h
CIFS: Implement cifs_strict_readv (try #4)
authorPavel Shilovsky <piastryyy@gmail.com>
Tue, 14 Dec 2010 08:50:41 +0000 (11:50 +0300)
committerSteve French <sfrench@us.ibm.com>
Thu, 20 Jan 2011 21:42:29 +0000 (21:42 +0000)
commita70307eeeb25b89f6b2baf3cf3f0cef83c96ba12
treef96abbc5d22884fd4c15fdc834c769b7fcf790c4
parent7a6a19b17ab9103ec708c18befd28f2a3908d4c1
CIFS: Implement cifs_strict_readv (try #4)

Read from the cache if we have at least Level II oplock - otherwise
read from the server. Add cifs_user_readv to let the client read into
iovec buffers.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
fs/cifs/cifsfs.h
fs/cifs/file.c