ARTICLE DETAIL

建站实战干货

来自一线的建站与推广经验沉淀,每一条都经过真实交付验证。

【linux内核】nfs回写②

2026/8/15 22:32:10 拓冰建站 浏览量
【linux内核】nfs回写②

 

struct nfs_pageio_descriptor {struct inode		*pg_inode;// const struct nfs_pageio_ops nfs_pgio_rw_opsconst struct nfs_pageio_ops *pg_ops;// const struct nfs_rw_ops nfs_rw_write_opsconst struct nfs_rw_ops *pg_rw_ops;int 		pg_ioflags;int			pg_error;// const struct rpc_call_ops nfs_pgio_common_opsconst struct rpc_call_ops *pg_rpc_callops;// const struct nfs_pgio_completion_ops nfs_async_read_completion_ops// const struct nfs_pgio_completion_ops nfs_async_write_completion_opsconst struct nfs_pgio_completion_ops *pg_completion_ops;struct pnfs_layout_segment *pg_lseg;// nfs_io_completion.complete: nfs_io_completion_commitstruct nfs_io_completion *pg_io_completion;struct nfs_direct_req	*pg_dreq;unsigned int		pg_bsize;	/* default bsize for mirrors */u32			pg_mirror_count;struct nfs_pgio_mirror	*pg_mirrors;struct nfs_pgio_mirror	 pg_mirrors_static[1];struct nfs_pgio_mirror	*pg_mirrors_dynamic;u32			pg_mirror_idx;	/* current mirror */unsigned short		pg_maxretrans;unsigned char		  pg_moreio : 1;
};