History | View | Annotate | Download (9.3 kB)
Delete useless 'extern' qualifiers for functions
'extern' qualifier is useless for function declarations. Deletethem.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
[virto-9p] Implement TLOCK
Synopsis
size[4] TLock tag[2] fid[4] flock[n] size[4] RLock tag[2] status[1]
Description
Tlock is used to acquire/release byte range posix locks on a fileidentified by given fid. The reply contains status of the lock request...
qemu-virtio9p: Implement TGETLOCK
size[4] TGetlock tag[2] fid[4] getlock[n] size[4] RGetlock tag[2] getlock[n]
TGetlock is used to test for the existence of byte range posix locks ona file identified by given fid. The reply contains getlock structure. If...
[virtio-9p] Introduce server side TFSYNC/RFSYNC for dotl
SYNOPSIS size4 Tfsync tag2 fid4
size[4] Rfsync tag[2]
DESCRIPTION
The Tfsync transaction transfers ("flushes") all modified in-core data offile identified by fid to the disk device (or other permanent storage...
qemu-virtio-9p: Implement TREADLINK operation for 9p2000.L
size[4] TReadlink tag[2] fid[4] size[4] RReadlink tag[2] target[s]
Description Readlink is used to return the contents of the symoblic link referred by fid. Contents of symboic link is returned as a...
[virtio-9p] This patch implements TLERROR/RLERROR on the qemu 9P server.
Signed-off-by: Arun R Bharadwaj <arun@linux.vnet.ibm.com>Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
rename - change name of file or directory
size4 Trename tag2 fid4 newdirfid4 name[s]size4 Rrename tag2
Implement the 2000.L rename operation. A new functionv9fs_complete_rename is introduced that acts as a common entry pointfor 2000.L rename operation and 2000.U rename opearation (via wstat)....
[virtio-9p] qemu: virtio-9p: Implement LOPEN
Implement 9p2000.L version of open(LOPEN) interface in qemu 9p server.
For LOPEN, no need to convert the flags to and from 9p mode to VFS mode.
Synopsis:
size[4] Tlopen tag[2] fid[4] mode[4]
size[4] Rlopen tag[2] qid[13] iounit[4]...
virtio-9p: Add fidtype so that we can do type specific operation
We want to add type specific operation during read/write
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
virtio-9p: Implement TXATTRWALK
TXATTRWALK: Descend a ATTR namespace
size[4] TXATTRWALK tag[2] fid[4] newfid[4] name[s] size[4] RXATTRWALK tag[2] size[8]
txattrwalk gets a fid pointing to xattr. This fid can later beused to get read the xattr value. If name is NULL the fid returned...
virtio-9p: Implement TXATTRCREATE
TXATTRCREATE: Prepare a fid for setting xattr value on a file system object.
size[4] TXATTRCREATE tag[2] fid[4] name[s] attr_size[8] flags[4] size[4] RXATTRWALK tag[2]
txattrcreate gets a fid pointing to xattr. This fid can later be...
virtio-9p: Implement server side of setattr for 9P2000.L protocol.
SYNOPSIS
size[4] Tsetattr tag[2] attr[n]
size[4] Rsetattr tag[2]
The setattr command changes some of the file status information. attr resembles the iattr structure used in Linux kernel. It...
[virtio-9p] Implement TLINK for 9P2000.L
Create a Hardlink.
size4 Tlink tag2 dfid4 oldfid4 newpath[s]
size4 Rlink tag2
Create a link 'newpath' in directory pointed by dfid linking to oldfid path.
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
[virtio-9p] Define and implement TSYMLINK for 9P2000.L
This patch implements creating a symlink for TSYMLINK requestand responds with RSYMLINK. In the case of error, we return RERROR.
size[4] Tsymlink tag[2] fid[4] name[s] symtgt[s] gid[4]...
[virtio-9p] This patch implements TLCREATE for 9p2000.L protocol.
size[4] Tlcreate tag[2] fid[4] name[s] flags[4] mode[4] gid[4]
size[4] Rlcreate tag[2] qid[13] iounit[4]
The Tlreate request asks the file server to create a new regular file with the...
qemu: virtio-9p: Implement TMKNOD
Implement TMKNOD as part of 2000.L Work
size[4] Tmknod tag[2] fid[4] name[s] mode[4] major[4] minor[4] gid[4]
size[4] Rmknod tag[2] qid[13]
mknod asks the file server to create a device node with given device...
qemu: virtio-9p: Implement TMKDIR
size[4] Tmkdir tag[2] fid[4] name[s] mode[4] gid[4]
size[4] Rmkdir tag[2] qid[13]
mkdir asks the file server to create a directory with given name, mode and gid. The qid for the new directory is returned with...
qemu: virtio-9p: Implement statfs support in server
Implement statfs support in qemu server based on Sripathi'sinitial statfs patch.
Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
[V4] virtio-9p: readdir implementation for 9p2000.L
This patch implements the server part of readdir() implementation for9p2000.L
size[4] Treaddir tag[2] fid[4] offset[8] count[4] size[4] Rreaddir tag[2] count[4] data[count]
DESCRIPTION...
virtio-9p: Compute iounit based on host filesystem block size
Compute iounit based on the host filesystem block size and pass it toclient with open/create response. Also return iounit as statfs's f_bsizefor optimal block size transfers.
Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>...
virtio-9p: getattr server implementation for 9P2000.L protocol.
size[4] Tgetattr tag[2] fid[4] request_mask[8]
size[4] Rgetattr tag[2] lstat[n]
The getattr transaction inquires about the file identified by fid....
qemu: virtio-9p: Recognize 9P2000.L protocol
Make 9P server recognize 9P2000.L protocol version
Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com>Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
virtio-9p: Rearrange fileop structures
This patch rearranges the fileop structures by moving the structure definitionsfrom virtio-9p.c to virtio-9p.h file. No functional changes.
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
virtio-9p: Add a virtio 9p device to qemu
This patch doesn't implement the 9p protocol handlingcode. It adds a simple device which dump the protocol data.
[jvrao@linux.vnet.ibm.com: Little-Endian to host format conversion][aneesh.kumar@linux.vnet.ibm.com: Multiple-mounts support]...