Home
last modified time | relevance | path

Searched refs:layout (Results 1 – 20 of 20) sorted by relevance

/fs/ceph/
Dioctl.c117 req->r_args.setlayout.layout.fl_stripe_unit = in ceph_ioctl_set_layout()
119 req->r_args.setlayout.layout.fl_stripe_count = in ceph_ioctl_set_layout()
121 req->r_args.setlayout.layout.fl_object_size = in ceph_ioctl_set_layout()
123 req->r_args.setlayout.layout.fl_pg_pool = cpu_to_le32(l.data_pool); in ceph_ioctl_set_layout()
161 req->r_args.setlayout.layout.fl_stripe_unit = in ceph_ioctl_set_layout_policy()
163 req->r_args.setlayout.layout.fl_stripe_count = in ceph_ioctl_set_layout_policy()
165 req->r_args.setlayout.layout.fl_object_size = in ceph_ioctl_set_layout_policy()
167 req->r_args.setlayout.layout.fl_pg_pool = in ceph_ioctl_set_layout_policy()
Dutil.c11 int ceph_file_layout_is_valid(const struct ceph_file_layout *layout) in ceph_file_layout_is_valid() argument
13 __u32 su = layout->stripe_unit; in ceph_file_layout_is_valid()
14 __u32 sc = layout->stripe_count; in ceph_file_layout_is_valid()
15 __u32 os = layout->object_size; in ceph_file_layout_is_valid()
Dxattr.c402 XATTR_LAYOUT_FIELD(dir, layout, stripe_unit),
403 XATTR_LAYOUT_FIELD(dir, layout, stripe_count),
404 XATTR_LAYOUT_FIELD(dir, layout, object_size),
405 XATTR_LAYOUT_FIELD(dir, layout, pool),
406 XATTR_LAYOUT_FIELD(dir, layout, pool_namespace),
459 XATTR_LAYOUT_FIELD(file, layout, stripe_unit),
460 XATTR_LAYOUT_FIELD(file, layout, stripe_count),
461 XATTR_LAYOUT_FIELD(file, layout, object_size),
462 XATTR_LAYOUT_FIELD(file, layout, pool),
463 XATTR_LAYOUT_FIELD(file, layout, pool_namespace),
Dinode.c858 if (le32_to_cpu(info->layout.fl_stripe_unit)) in ceph_fill_inode()
860 fls(le32_to_cpu(info->layout.fl_stripe_unit)) - 1; in ceph_fill_inode()
902 ceph_file_layout_from_legacy(&ci->i_layout, &info->layout); in ceph_fill_inode()
Dfile.c667 ceph_file_layout_to_legacy(lo, &in.layout); in ceph_finish_async_create()
Dcaps.c3467 ceph_file_layout_from_legacy(&ci->i_layout, &grant->layout); in handle_cap_grant()
/fs/nfs/
Dpnfs.c298 nfsi->layout = NULL; in pnfs_detach_layout_hdr()
426 lo = NFS_I(inode)->layout; in nfs4_layout_refresh_old_stateid()
770 lo = nfsi->layout; in __pnfs_destroy_layout()
797 ret = nfsi->layout != lo; in pnfs_layout_removed()
818 lo = NFS_I(inode)->layout; in pnfs_layout_add_bulk_destroy_list()
1106 lgp->args.layout.pages = nfs4_alloc_pages(max_pages, gfp_flags); in pnfs_alloc_init_layoutget_args()
1107 if (!lgp->args.layout.pages) { in pnfs_alloc_init_layoutget_args()
1111 lgp->args.layout.pglen = max_pages * PAGE_SIZE; in pnfs_alloc_init_layoutget_args()
1112 lgp->res.layoutp = &lgp->args.layout; in pnfs_alloc_init_layoutget_args()
1143 size_t max_pages = lgp->args.layout.pglen / PAGE_SIZE; in pnfs_layoutget_free()
[all …]
Dpnfs.h429 return NFS_I(inode)->layout != NULL; in nfs_have_layout()
609 if (pnfs_enabled_sb(nfss) && nfsi->layout) { in pnfs_return_layout()
610 set_bit(NFS_LAYOUT_RETURN_REQUESTED, &nfsi->layout->plh_flags); in pnfs_return_layout()
Dnfs42proc.c749 lo = NFS_I(inode)->layout; in nfs42_layoutstat_prepare()
784 lo = NFS_I(inode)->layout; in nfs42_layoutstat_done()
803 lo = NFS_I(inode)->layout; in nfs42_layoutstat_done()
835 pnfs_put_layout_hdr(NFS_I(data->args.inode)->layout); in nfs42_layoutstat_release()
Dcallback_proc.c177 if (nfsi->layout != lo) in nfs_layout_find_inode_by_fh()
263 lo = NFS_I(ino)->layout; in initiate_file_draining()
Dnfs4xdr.c2371 rpc_prepare_reply_pages(req, args->lg_args->layout.pages, 0, in nfs4_xdr_enc_open()
2372 args->lg_args->layout.pglen, in nfs4_xdr_enc_open()
2417 rpc_prepare_reply_pages(req, args->lg_args->layout.pages, 0, in nfs4_xdr_enc_open_noattr()
2418 args->lg_args->layout.pglen, in nfs4_xdr_enc_open_noattr()
3073 rpc_prepare_reply_pages(req, args->layout.pages, 0, in nfs4_xdr_enc_layoutget()
3074 args->layout.pglen, hdr.replen - pagepad_maxsz); in nfs4_xdr_enc_layoutget()
Dnfs4proc.c3678 lo = calldata->arg.lr_args ? calldata->arg.lr_args->layout : NULL; in nfs4_close_prepare()
6640 lo = d_data->args.lr_args ? d_data->args.lr_args->layout : NULL; in nfs4_delegreturn_prepare()
9800 if (!pnfs_layout_is_valid(lrp->args.layout)) in nfs4_layoutreturn_prepare()
9849 struct pnfs_layout_hdr *lo = lrp->args.layout; in nfs4_layoutreturn_release()
9856 pnfs_put_layout_hdr(lrp->args.layout); in nfs4_layoutreturn_release()
Dinode.c2262 nfsi->layout = NULL; in nfs4_init_once()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c207 mirror->layout = lo; in ff_layout_add_mirror()
216 if (mirror->layout == NULL) in ff_layout_remove_mirror()
218 inode = mirror->layout->plh_inode; in ff_layout_remove_mirror()
222 mirror->layout = NULL; in ff_layout_remove_mirror()
607 struct nfs4_flexfile_layout *ffl = FF_LAYOUT_FROM_HDR(mirror->layout); in nfs4_ff_layoutstat_start_io()
882 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_init_read()
944 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_init_write()
971 NFS_I(pgio->pg_inode)->layout, in ff_layout_pg_get_mirror_count_write()
1041 IOMODE_RW, NFS_I(hdr->inode)->layout, in ff_layout_reset_write()
1077 IOMODE_READ, NFS_I(hdr->inode)->layout, in ff_layout_reset_read()
[all …]
Dflexfilelayout.h75 struct pnfs_layout_hdr *layout; member
/fs/nfsd/
DKconfig91 in the kernel's NFS server. The pNFS block layout enables NFS
104 in the kernel's NFS server. The pNFS SCSI layout enables NFS
106 the server and the clients. See draft-ietf-nfsv4-scsi-layout for
117 layouts in the kernel's NFS server. The pNFS Flex File layout
/fs/nfs/filelayout/
Dfilelayout.c245 (unsigned long) NFS_I(hdr->inode)->layout->plh_lwb); in filelayout_set_layoutcommit()
860 lo = NFS_I(ino)->layout; in fl_pnfs_update_layout()
1075 struct pnfs_layout_hdr *layout = NFS_I(inode)->layout; in filelayout_get_ds_info() local
1077 if (layout == NULL) in filelayout_get_ds_info()
1080 return &FILELAYOUT_FROM_HDR(layout)->commit_info; in filelayout_get_ds_info()
/fs/f2fs/
DKconfig27 layout, but also for selecting allocation and cleaning algorithms.
129 layout with LZ4, if unsure, say Y.
/fs/nfs/blocklayout/
Dextent_tree.c558 struct pnfs_block_layout *bl = BLK_LO2EXT(NFS_I(arg->inode)->layout); in ext_tree_prepare_commit()
617 struct pnfs_block_layout *bl = BLK_LO2EXT(NFS_I(arg->inode)->layout); in ext_tree_mark_committed()
/fs/cramfs/
DREADME64 the block data. This is used to allow discontiguous data layout