pNFS client structure and function rename suggestions

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

 



As per our last pNFS conference call, here is a list of suggested renames for discussion

-->Andy

*********
include/linux/nfs_fs.h

struct pnfs_layout_type => pnfs_layout
fields:
    refcount => lo_refcount
    segs => lo_segs
    roc_iomode => lo_roc_iomode
    seqlock => lo_seqlock
    stateid => lo_stateid
    pnfs_layout_state => lo_state
    pnfs_write_begin_pos => lo_write_begin
    pnfs_write_end_pos => lo_write_end

*********
include/linux/pnfs_xdr.h

NOTE: consider removing and adding to include/linux/nfs_xdr.h where the other
nfsv4.1 xdr structs are declared.

struct nfs4_pnfs_layout => remove, inline in nfs4_layoutget_args.

struct nfs4_pnfs_layout_segment => pnfs_layout_range

struct nfs4_pnfs_layoutget_arg => nfs4_layoutget_args
fields:
    lseg => range
    layout: remove. inline with:
	add: layout_len
        add: layout_buf

struct nfs4_pnfs_layoutget_res => nfs4_layoutget_res
fields:
    lseg => range

struct nfs4_pnfs_layoutget => nfs4_layoutget

struct pnfs_layoutcommit_arg => nfs4_layoutcommit_args
fields:
    lseg => range

struct pnfs_layoutcommit_res => nfs4_layoutcommit_res

struct pnfs_layoutcommit_data => nfs4_layoutcommit_data

struct nfs4_pnfs_layoutreturn_arg => nfs4_layoutreturn_args
fields:
    lseg => range

struct nfs4_pnfs_layoutreturn_res => nfs4_layoutreturn_res

struct nfs4_pnfs_layoutreturn => nfs4_layoutreturn

struct nfs4_pnfs_getdeviceinfo_arg => nfs4_getdeviceinfo_args

struct nfs4_pnfs_getdeviceinfo_res => nfs4_getdeviceinfo_res

*********
include/linux/nfs4.h

NFSPROC4_CLNT_PNFS_LAYOUTGET => NFSPROC4_CLNT_LAYOUTGET
NFSPROC4_CLNT_PNFS_LAYOUTCOMMIT => NFSPROC4_CLNT_LAYOUTCOMMIT
NFSPROC4_CLNT_PNFS_LAYOUTRETURN => NFSPROC4_CLNT_LAYOUTRETURN
NFSPROC4_CLNT_PNFS_GETDEVICEINFO => NFSPROC4_CLNT_GETDEVICEINFO

*********

fs/nfs/nfs4proc.c

nfs4_pnfs_layoutget_prepare => nfs4_layoutget_prepare
nfs4_pnfs_layoutget_done => nfs4_layoutget_done
nfs4_pnfs_layoutget_release => nfs4_layoutget_release

_pnfs4_proc_layoutget => _nfs4_proc_layoutget
pnfs4_proc_layoutget => nfs4_proc_layoutget


pnfs_layoutcommit_prepare => nfs4_layoutcommit_prepare
pnfs_layoutcommit_done => nfs4_layoutcommit_done
pnfs_layoutcommit_release => nfs4_layoutcommit_release

_pnfs4_proc_layoutcommit => _nfs4_proc_layoutcommit
pnfs4_proc_layoutcommit => nfs4_proc_layoutcommit

nfs4_pnfs_layoutreturn_prepare => nfs4_layoutreturn_prepare
nfs4_pnfs_layoutreturn_done => nfs4_layoutreturn_done
nfs4_pnfs_layoutreturn_release => nfs4_layoutreturn_release

_pnfs4_proc_layoutreturn => _nfs4_proc_layoutreturn
pnfs4_proc_layoutreturn => nfs4_proc_layoutreturn

nfs4_pnfs_getdeviceinfo => nfs4_proc_getdeviceinfo


[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