Searched refs:pg_lseg (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 797 struct pnfs_layout_segment *lseg = pgio->pg_lseg; in ff_layout_get_ds_for_read() 812 pnfs_put_lseg(pgio->pg_lseg); in ff_layout_pg_get_read() 813 pgio->pg_lseg = pnfs_update_layout(pgio->pg_inode, in ff_layout_pg_get_read() 820 if (IS_ERR(pgio->pg_lseg)) { in ff_layout_pg_get_read() 821 pgio->pg_error = PTR_ERR(pgio->pg_lseg); in ff_layout_pg_get_read() 822 pgio->pg_lseg = NULL; in ff_layout_pg_get_read() 846 if (!pgio->pg_lseg) { in ff_layout_pg_init_read() 848 if (!pgio->pg_lseg) in ff_layout_pg_init_read() 851 if (ff_layout_avoid_read_on_rw(pgio->pg_lseg)) { in ff_layout_pg_init_read() 853 if (!pgio->pg_lseg) in ff_layout_pg_init_read() [all …]
|
/Linux-v5.10/fs/nfs/filelayout/ |
D | filelayout.c | 799 u64 segment_offset = pgio->pg_lseg->pls_range.offset; in filelayout_pg_test() 800 u32 stripe_unit = FILELAYOUT_LSEG(pgio->pg_lseg)->stripe_unit; in filelayout_pg_test() 864 if (!pgio->pg_lseg) { in filelayout_pg_init_read() 865 pgio->pg_lseg = fl_pnfs_update_layout(pgio->pg_inode, in filelayout_pg_init_read() 872 if (IS_ERR(pgio->pg_lseg)) { in filelayout_pg_init_read() 873 pgio->pg_error = PTR_ERR(pgio->pg_lseg); in filelayout_pg_init_read() 874 pgio->pg_lseg = NULL; in filelayout_pg_init_read() 879 if (pgio->pg_lseg == NULL) in filelayout_pg_init_read() 888 if (!pgio->pg_lseg) { in filelayout_pg_init_write() 889 pgio->pg_lseg = fl_pnfs_update_layout(pgio->pg_inode, in filelayout_pg_init_write() [all …]
|
/Linux-v5.10/fs/nfs/ |
D | pnfs.c | 2602 if (pgio->pg_lseg == NULL || in pnfs_generic_pg_check_layout() 2603 test_bit(NFS_LSEG_VALID, &pgio->pg_lseg->pls_flags)) in pnfs_generic_pg_check_layout() 2605 pnfs_put_lseg(pgio->pg_lseg); in pnfs_generic_pg_check_layout() 2606 pgio->pg_lseg = NULL; in pnfs_generic_pg_check_layout() 2617 if (pgio->pg_lseg && !pnfs_lseg_request_intersecting(pgio->pg_lseg, req)) { in pnfs_generic_pg_check_range() 2618 pnfs_put_lseg(pgio->pg_lseg); in pnfs_generic_pg_check_range() 2619 pgio->pg_lseg = NULL; in pnfs_generic_pg_check_range() 2631 if (pgio->pg_lseg == NULL) { in pnfs_generic_pg_init_read() 2637 pgio->pg_lseg = pnfs_update_layout(pgio->pg_inode, in pnfs_generic_pg_init_read() 2644 if (IS_ERR(pgio->pg_lseg)) { in pnfs_generic_pg_init_read() [all …]
|
D | pagelist.c | 849 desc->pg_lseg = NULL; in nfs_pageio_init()
|
/Linux-v5.10/fs/nfs/blocklayout/ |
D | blocklayout.c | 865 if (pgio->pg_lseg && in bl_pg_init_read() 866 test_bit(NFS_LSEG_UNAVAILABLE, &pgio->pg_lseg->pls_flags)) { in bl_pg_init_read() 867 pnfs_error_mark_layout_for_return(pgio->pg_inode, pgio->pg_lseg); in bl_pg_init_read() 868 pnfs_set_lo_fail(pgio->pg_lseg); in bl_pg_init_read() 927 if (pgio->pg_lseg && in bl_pg_init_write() 928 test_bit(NFS_LSEG_UNAVAILABLE, &pgio->pg_lseg->pls_flags)) { in bl_pg_init_write() 930 pnfs_error_mark_layout_for_return(pgio->pg_inode, pgio->pg_lseg); in bl_pg_init_write() 931 pnfs_set_lo_fail(pgio->pg_lseg); in bl_pg_init_write()
|
/Linux-v5.10/include/linux/ |
D | nfs_page.h | 101 struct pnfs_layout_segment *pg_lseg; member
|