Searched refs:pls_range (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/fs/nfs/ |
D | pnfs.c | 382 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() 724 lseg, lseg->pls_range.iomode, lseg->pls_seq, in pnfs_mark_matching_lsegs_invalid() 725 lseg->pls_range.offset, lseg->pls_range.length); in pnfs_mark_matching_lsegs_invalid() 1477 if (skip_read && lseg->pls_range.iomode == IOMODE_READ) in pnfs_roc() 1489 pnfs_set_plh_return_info(lo, lseg->pls_range.iomode, 0); in pnfs_roc() 1681 if (is_after(&lseg->pls_range, &lp->pls_range)) in pnfs_generic_layout_insert_lseg() 1687 __func__, lseg, lseg->pls_range.iomode, in pnfs_generic_layout_insert_lseg() [all …]
|
D | pnfs.h | 72 struct pnfs_layout_range pls_range; member 683 u64 seg_last = pnfs_end_offset(lseg->pls_range.offset, lseg->pls_range.length); in pnfs_lseg_request_intersecting() 686 return pnfs_is_range_intersecting(lseg->pls_range.offset, seg_last, in pnfs_lseg_request_intersecting()
|
/Linux-v6.6/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 316 if (new->pls_range.iomode != old->pls_range.iomode) in ff_lseg_merge() 318 old_end = pnfs_calc_offset_end(old->pls_range.offset, in ff_lseg_merge() 319 old->pls_range.length); in ff_lseg_merge() 320 if (old_end < new->pls_range.offset) in ff_lseg_merge() 322 new_end = pnfs_calc_offset_end(new->pls_range.offset, in ff_lseg_merge() 323 new->pls_range.length); in ff_lseg_merge() 324 if (new_end < old->pls_range.offset) in ff_lseg_merge() 332 if (new->pls_range.offset < old->pls_range.offset) in ff_lseg_merge() 333 new->pls_range.offset = old->pls_range.offset; in ff_lseg_merge() 334 new->pls_range.length = pnfs_calc_offset_length(new->pls_range.offset, in ff_lseg_merge() [all …]
|
D | flexfilelayoutdev.c | 409 mirror, lseg->pls_range.offset, in nfs4_ff_layout_prepare_ds() 410 lseg->pls_range.length, NFS4ERR_NXIO, in nfs4_ff_layout_prepare_ds() 596 if (lseg->pls_range.iomode == IOMODE_READ) in ff_layout_has_available_ds() 610 return lseg->pls_range.iomode == IOMODE_RW && in ff_layout_avoid_read_on_rw()
|
/Linux-v6.6/fs/nfs/filelayout/ |
D | filelayout.c | 752 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()
|