[virtio-9p] Make v9fs_do_utimensat accept timespec structures instead of v9stat.
Currently v9fs_do_utimensat takes a V9fsStat argument and buildstimespec structures. It sets tv_nsec values to 0 by default. Insteadof this it should take struct timespec2 and pass it down to the...
virtio-9p: Implement server side of setattr for 9P2000.L protocol.
SYNOPSIS
size[4] Tsetattr tag[2] attr[n]
size[4] Rsetattr tag[2]
DESCRIPTION
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...
virtio-9p: Return correct error from v9fs_remove
Signed-off-by: Sripathi Kodi <sripathik@in.ibm.com>
In v9fs_remove_post_remove() we currently ignore the error returned bythe previous call to remove() and return an error only if freeing thefid fails. However, the client expects to see the error from remove()....
[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....
virtio-9p: Do not reset atime
Current code resets file's atime to 0 when there is a change in mtime. This results in resetting the atime to "1970-01-01 05:30:00". For example, truncate -s 0 filename results in changing the mtime to the truncate time, but resets the atime to "1970-01-01 05:30:00". utime...
View revisions
Also available in: Atom