Searched refs:mirror_ds (Results 1 – 3 of 3) sorted by relevance
26 void nfs4_ff_layout_put_deviceid(struct nfs4_ff_layout_ds *mirror_ds) in nfs4_ff_layout_put_deviceid() argument28 if (!IS_ERR_OR_NULL(mirror_ds)) in nfs4_ff_layout_put_deviceid()29 nfs4_put_deviceid_node(&mirror_ds->id_node); in nfs4_ff_layout_put_deviceid()32 void nfs4_ff_layout_free_deviceid(struct nfs4_ff_layout_ds *mirror_ds) in nfs4_ff_layout_free_deviceid() argument34 nfs4_print_deviceid(&mirror_ds->id_node.deviceid); in nfs4_ff_layout_free_deviceid()35 nfs4_pnfs_ds_put(mirror_ds->ds); in nfs4_ff_layout_free_deviceid()36 kfree(mirror_ds->ds_versions); in nfs4_ff_layout_free_deviceid()37 kfree_rcu(mirror_ds, id_node.rcu); in nfs4_ff_layout_free_deviceid()262 if (IS_ERR_OR_NULL(mirror->mirror_ds)) in ff_layout_track_ds_error()275 memcpy(&dserr->deviceid, &mirror->mirror_ds->id_node.deviceid, in ff_layout_track_ds_error()[all …]
80 struct nfs4_ff_layout_ds *mirror_ds; member157 struct nfs4_ff_layout_ds *mirror_ds = mirror->mirror_ds; in FF_LAYOUT_DEVID_NODE() local159 if (!IS_ERR_OR_NULL(mirror_ds)) in FF_LAYOUT_DEVID_NODE()160 return &mirror_ds->id_node; in FF_LAYOUT_DEVID_NODE()186 return mirror->mirror_ds->ds_versions[0].version; in nfs4_ff_layout_ds_version()192 void nfs4_ff_layout_put_deviceid(struct nfs4_ff_layout_ds *mirror_ds);193 void nfs4_ff_layout_free_deviceid(struct nfs4_ff_layout_ds *mirror_ds);
264 nfs4_ff_layout_put_deviceid(mirror->mirror_ds); in ff_layout_free_mirror()775 nfs4_test_deviceid_unavailable(&mirror->mirror_ds->id_node)) in ff_layout_choose_ds_for_read()876 pgm->pg_bsize = mirror->mirror_ds->ds_versions[0].rsize; in ff_layout_pg_init_read()938 pgm->pg_bsize = mirror->mirror_ds->ds_versions[0].wsize; in ff_layout_pg_init_write()2044 struct nfs4_ff_layout_ds *mirror_ds; in ff_layout_cancel_io() local2052 mirror_ds = mirror->mirror_ds; in ff_layout_cancel_io()2053 if (IS_ERR_OR_NULL(mirror_ds)) in ff_layout_cancel_io()2055 ds = mirror->mirror_ds->ds; in ff_layout_cancel_io()2456 struct nfs4_pnfs_ds *ds = mirror->mirror_ds->ds; in ff_layout_encode_ff_layoutupdate()2522 if (IS_ERR_OR_NULL(mirror->mirror_ds)) in ff_layout_mirror_prepare_stats()[all …]