Home
last modified time | relevance | path

Searched refs:pls_range (Results 1 – 5 of 5) sorted by relevance

/fs/nfs/
Dpnfs.c382 pnfs_set_plh_return_info(lo, lseg->pls_range.iomode, 0); in pnfs_clear_layoutreturn_info()
550 lseg->pls_range = *range; in pnfs_init_lseg()
587 pnfs_set_plh_return_info(lo, lseg->pls_range.iomode, 0); in pnfs_cache_lseg_for_layoutreturn()
688 return pnfs_should_free_range(&lseg->pls_range, recall_range); in pnfs_match_lseg_recall()
723 lseg, lseg->pls_range.iomode, lseg->pls_seq, in pnfs_mark_matching_lsegs_invalid()
724 lseg->pls_range.offset, lseg->pls_range.length); in pnfs_mark_matching_lsegs_invalid()
1474 if (skip_read && lseg->pls_range.iomode == IOMODE_READ) in pnfs_roc()
1486 pnfs_set_plh_return_info(lo, lseg->pls_range.iomode, 0); in pnfs_roc()
1678 if (is_after(&lseg->pls_range, &lp->pls_range)) in pnfs_generic_layout_insert_lseg()
1684 __func__, lseg, lseg->pls_range.iomode, in pnfs_generic_layout_insert_lseg()
[all …]
Dpnfs.h72 struct pnfs_layout_range pls_range; member
685 u64 seg_last = pnfs_end_offset(lseg->pls_range.offset, lseg->pls_range.length); in pnfs_lseg_request_intersecting()
688 return pnfs_is_range_intersecting(lseg->pls_range.offset, seg_last, in pnfs_lseg_request_intersecting()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c310 if (new->pls_range.iomode != old->pls_range.iomode) in ff_lseg_merge()
312 old_end = pnfs_calc_offset_end(old->pls_range.offset, in ff_lseg_merge()
313 old->pls_range.length); in ff_lseg_merge()
314 if (old_end < new->pls_range.offset) in ff_lseg_merge()
316 new_end = pnfs_calc_offset_end(new->pls_range.offset, in ff_lseg_merge()
317 new->pls_range.length); in ff_lseg_merge()
318 if (new_end < old->pls_range.offset) in ff_lseg_merge()
326 if (new->pls_range.offset < old->pls_range.offset) in ff_lseg_merge()
327 new->pls_range.offset = old->pls_range.offset; in ff_lseg_merge()
328 new->pls_range.length = pnfs_calc_offset_length(new->pls_range.offset, in ff_lseg_merge()
[all …]
Dflexfilelayoutdev.c407 mirror, lseg->pls_range.offset, in nfs4_ff_layout_prepare_ds()
408 lseg->pls_range.length, NFS4ERR_NXIO, in nfs4_ff_layout_prepare_ds()
594 if (lseg->pls_range.iomode == IOMODE_READ) in ff_layout_has_available_ds()
608 return lseg->pls_range.iomode == IOMODE_RW && in ff_layout_avoid_read_on_rw()
/fs/nfs/filelayout/
Dfilelayout.c752 if (lseg->pls_range.iomode == IOMODE_RW) { in filelayout_free_lseg()
805 u64 segment_offset = pgio->pg_lseg->pls_range.offset; in filelayout_pg_test()