[PATCH 0/6] nfs: add support for additional attributes and ioctl to access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Summary:

Add support for NFS attributes:
        timecreate
        hidden
        system
        archive
        timebackup

Add IOCTL to access these attributes. IOCTL client sample source is included in the ioctl patch for test purposes.  Note: These attributes can only be accessible if the remote nfsd supports them and underlying file system populates them.

This will permit the surfacing of these attributes via nfs for underlying filesystems that support them. SMB/Samba makes use of these attributes.


Signed-off-by: Anne Marie Merritt <annemarie.merritt@xxxxxxxxxxxxxxx>

Anne Marie Merritt (6):
  nfs:  Add timecreate to nfs inode, along with corresponding bitfields,
    request, and decode xdr routines.
  nfs:  Add 'hidden' field to nfs inode, along with corresponding
    bitfields, request, and decode xdr routines.
  nfs:  Add 'system' field to nfs inode, along with corresponding
    bitfields, request, and decode xdr routines.
  nfs:  Add 'archive' field to nfs inode, along with corresponding
    bitfields, request, and decode xdr routines.
  nfs:  Add timebackup to nfs inode, along with corresponding bitfields,
    request, and decode xdr routines.
  nfs:  Add ioctl to retrieve timecreate, timebackup, 'hidden',
    'archive', and 'system' fields from inode.

 fs/nfs/inode.c            |  70 +++++++++++++++++++++++++
 fs/nfs/nfs4file.c         |  31 +++++++++++
 fs/nfs/nfs4proc.c         |  15 ++++++
 fs/nfs/nfs4xdr.c          | 130 ++++++++++++++++++++++++++++++++++++++++++++++
 include/linux/nfs_fs.h    |   9 ++++
 include/linux/nfs_fs_sb.h |   5 ++
 include/linux/nfs_xdr.h   |  18 +++++++
 include/uapi/linux/nfs.h  |  13 +++++
 8 files changed, 291 insertions(+)

-- 
2.3.6

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux