Searched refs:pls_range (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/fs/nfs/ |
D | pnfs.c | 383 pnfs_set_plh_return_info(lo, lseg->pls_range.iomode, 0); in pnfs_clear_layoutreturn_info() 563 lseg->pls_range = *range; in pnfs_init_lseg() 600 pnfs_set_plh_return_info(lo, lseg->pls_range.iomode, 0); in pnfs_cache_lseg_for_layoutreturn() 701 return pnfs_should_free_range(&lseg->pls_range, recall_range); in pnfs_match_lseg_recall() 737 lseg, lseg->pls_range.iomode, lseg->pls_seq, in pnfs_mark_matching_lsegs_invalid() 738 lseg->pls_range.offset, lseg->pls_range.length); in pnfs_mark_matching_lsegs_invalid() 1258 !pnfs_should_free_range(&lseg->pls_range, range)) in pnfs_layoutreturn_retry_later_locked() 1596 if (skip_read && lseg->pls_range.iomode == IOMODE_READ) in pnfs_roc() 1608 pnfs_set_plh_return_info(lo, lseg->pls_range.iomode, 0); in pnfs_roc() 1801 if (is_after(&lseg->pls_range, &lp->pls_range)) in pnfs_generic_layout_insert_lseg() [all …]
|
D | pnfs.h | 73 struct pnfs_layout_range pls_range; member 682 u64 seg_last = pnfs_end_offset(lseg->pls_range.offset, lseg->pls_range.length); in pnfs_lseg_request_intersecting() 685 return pnfs_is_range_intersecting(lseg->pls_range.offset, seg_last, in pnfs_lseg_request_intersecting()
|
/linux-6.12.1/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 332 if (new->pls_range.iomode != old->pls_range.iomode) in ff_lseg_merge() 334 old_end = pnfs_calc_offset_end(old->pls_range.offset, in ff_lseg_merge() 335 old->pls_range.length); in ff_lseg_merge() 336 if (old_end < new->pls_range.offset) in ff_lseg_merge() 338 new_end = pnfs_calc_offset_end(new->pls_range.offset, in ff_lseg_merge() 339 new->pls_range.length); in ff_lseg_merge() 340 if (new_end < old->pls_range.offset) in ff_lseg_merge() 348 if (new->pls_range.offset < old->pls_range.offset) in ff_lseg_merge() 349 new->pls_range.offset = old->pls_range.offset; in ff_lseg_merge() 350 new->pls_range.length = pnfs_calc_offset_length(new->pls_range.offset, in ff_lseg_merge() [all …]
|
D | flexfilelayoutdev.c | 415 mirror, lseg->pls_range.offset, in nfs4_ff_layout_prepare_ds() 416 lseg->pls_range.length, NFS4ERR_NXIO, in nfs4_ff_layout_prepare_ds() 602 if (lseg->pls_range.iomode == IOMODE_READ) in ff_layout_has_available_ds() 616 return lseg->pls_range.iomode == IOMODE_RW && in ff_layout_avoid_read_on_rw()
|
/linux-6.12.1/fs/nfs/filelayout/ |
D | filelayout.c | 744 if (lseg->pls_range.iomode == IOMODE_RW) { in filelayout_free_lseg() 797 u64 segment_offset = pgio->pg_lseg->pls_range.offset; in filelayout_pg_test()
|