Lines Matching full:ds

35 	nfs4_pnfs_ds_put(mirror_ds->ds);  in nfs4_ff_layout_free_deviceid()
80 dprintk("%s: multipath ds count %d\n", __func__, mp_count); in nfs4_ff_alloc_deviceid_node()
83 /* multipath ds */ in nfs4_ff_alloc_deviceid_node()
89 dprintk("%s: no suitable DS addresses found\n", in nfs4_ff_alloc_deviceid_node()
134 dprintk("%s: [%d] unsupported ds version %d-%d\n", __func__, in nfs4_ff_alloc_deviceid_node()
152 new_ds->ds = nfs4_pnfs_ds_add(net, &dsaddrs, gfp_flags); in nfs4_ff_alloc_deviceid_node()
153 if (!new_ds->ds) in nfs4_ff_alloc_deviceid_node()
156 /* If DS was already in cache, free ds addrs */ in nfs4_ff_alloc_deviceid_node()
309 /* FIXME: For now assume there is only 1 version available for the DS */ in nfs4_ff_layout_select_ds_fh()
354 * nfs4_ff_layout_prepare_ds - prepare a DS connection for an RPC call
356 * @mirror: layout mirror describing the DS to use
357 * @dss_id: DS stripe id to select stripe to use
360 * Try to prepare a DS connection to accept an RPC call. This involves
369 * Returns a pointer to a connected DS object on success or NULL on failure.
377 struct nfs4_pnfs_ds *ds; in nfs4_ff_layout_prepare_ds() local
386 ds = mirror->dss[dss_id].mirror_ds->ds; in nfs4_ff_layout_prepare_ds()
387 if (READ_ONCE(ds->ds_clp)) in nfs4_ff_layout_prepare_ds()
393 * to use for the DS. in nfs4_ff_layout_prepare_ds()
395 status = nfs4_pnfs_ds_connect(s, ds, &mirror->dss[dss_id].mirror_ds->id_node, in nfs4_ff_layout_prepare_ds()
404 * keep ds_clp even if DS is local, so that if local IO cannot in nfs4_ff_layout_prepare_ds()
407 nfs_local_probe_async(ds->ds_clp); in nfs4_ff_layout_prepare_ds()
409 nfs_block_size(rpc_max_payload(ds->ds_clp->cl_rpcclient), in nfs4_ff_layout_prepare_ds()
425 ds = ERR_PTR(status); in nfs4_ff_layout_prepare_ds()
427 return ds; in nfs4_ff_layout_prepare_ds()
449 * nfs4_ff_find_or_create_ds_client - Find or create a DS rpc client
451 * @ds_clp: nfs_client for the DS
453 * @dss_id: DS stripe id
455 * Find or create a DS rpc client with th MDS server rpc client auth flavor
465 /* For NFSv3 DS, flavor is set when creating DS connections */ in nfs4_ff_find_or_create_ds_client()