public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* pNFS client structure and function rename suggestions
@ 2010-07-27 15:38 Andy Adamson
  2010-07-28 11:09 ` Boaz Harrosh
  0 siblings, 1 reply; 8+ messages in thread
From: Andy Adamson @ 2010-07-27 15:38 UTC (permalink / raw)
  To: linux-nfs@vger.kernel.org

[-- Attachment #1: Type: text/html, Size: 490 bytes --]

[-- Attachment #2: pnfs-client-rename.txt --]
[-- Type: text/plain, Size: 2639 bytes --]

*********
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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-08-02 15:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-27 15:38 pNFS client structure and function rename suggestions Andy Adamson
2010-07-28 11:09 ` Boaz Harrosh
2010-07-28 13:48   ` Fred Isaman
2010-07-28 14:12     ` Boaz Harrosh
2010-07-28 14:29       ` Fred Isaman
2010-07-28 15:10         ` Boaz Harrosh
2010-08-02 14:39           ` Benny Halevy
2010-08-02 15:29             ` Andy Adamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox