Home
last modified time | relevance | path

Searched refs:IOMODE_READ (Results 1 – 11 of 11) sorted by relevance

/linux/fs/nfsd/
H A Dblocklayout.c36 iomode != IOMODE_READ, &device_generation); in nfsd4_block_map_extent()
45 if (iomode == IOMODE_READ) in nfsd4_block_map_extent()
67 if (iomode == IOMODE_READ) { in nfsd4_block_map_extent()
H A Dflexfilelayout.c53 if (seg->iomode == IOMODE_READ) { in nfsd4_ff_proc_layoutget()
H A Dnfs4proc.c2463 case IOMODE_READ: in nfsd4_layoutget()
2626 case IOMODE_READ: in nfsd4_layoutreturn()
/linux/include/trace/misc/
H A Dnfs.h353 TRACE_DEFINE_ENUM(IOMODE_READ);
359 { IOMODE_READ, "READ" }, \
/linux/fs/nfs/
H A Dpnfs.c1204 if (range->iomode == IOMODE_READ) { in pnfs_alloc_init_layoutget_args()
1593 if (skip_read && lseg->pls_range.iomode == IOMODE_READ) in pnfs_roc()
1774 return (int)(l1->iomode == IOMODE_READ) - (int)(l2->iomode == IOMODE_READ); in pnfs_lseg_range_cmp()
1994 case IOMODE_READ: in pnfs_within_mdsthreshold()
2355 case IOMODE_READ: in pnfs_sanity_check_layout_range()
2405 IOMODE_RW: IOMODE_READ, in _lgopen_prepare_attached()
2413 if (rng.iomode == IOMODE_READ && in _lgopen_prepare_attached()
2440 IOMODE_RW: IOMODE_READ, in _lgopen_prepare_floating()
2772 case IOMODE_READ: in pnfs_should_return_unused_layout()
2776 if (pnfs_find_first_lseg(lo, range, IOMODE_READ)) in pnfs_should_return_unused_layout()
[all …]
H A Dnfs4state.c2575 iomode += IOMODE_READ; in nfs4_layoutreturn_any_run()
/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c289 if (iomode == IOMODE_READ) in ff_layout_get_mirror_cred()
615 if (lseg->pls_range.iomode == IOMODE_READ) in ff_layout_has_available_ds()
H A Dflexfilelayout.c368 return l1->iomode != IOMODE_READ; in ff_lseg_range_is_after()
602 if (lgr->range.iomode == IOMODE_READ) in ff_layout_alloc_lseg()
613 if (lgr->range.iomode == IOMODE_READ) { in ff_layout_alloc_lseg()
628 lgr->range.iomode == IOMODE_READ ? "READ" : "RW", in ff_layout_alloc_lseg()
967 req_offset(req), req->wb_bytes, IOMODE_READ, in ff_layout_pg_get_read()
1089 0, NFS4_MAX_UINT64, IOMODE_READ, in ff_layout_pg_init_read()
1294 IOMODE_READ, NFS_I(hdr->inode)->layout, in ff_layout_reset_read()
2207 IOMODE_READ, NFS_I(hdr->inode)->layout, lseg); in ff_layout_read_pagelist()
/linux/include/linux/
H A Dnfs4.h741 IOMODE_READ = 1, enumerator
/linux/fs/nfs/blocklayout/
H A Dblocklayout.c508 if (lv->mode == IOMODE_READ) { in verify_extent()
/linux/fs/nfs/filelayout/
H A Dfilelayout.c876 IOMODE_READ, in filelayout_pg_init_read()