Lines Matching refs:mdsc

184 	struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb);  in prepare_open_request()  local
192 req = ceph_mdsc_create_request(mdsc, op, want_auth); in prepare_open_request()
302 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_renew_caps() local
308 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_renew_caps()
343 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_renew_caps()
360 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open() local
404 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_open()
416 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_open()
433 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_open()
547 static void ceph_async_create_cb(struct ceph_mds_client *mdsc, in ceph_async_create_cb() argument
617 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_finish_async_create() local
675 down_read(&mdsc->snap_rwsem); in ceph_finish_async_create()
678 up_read(&mdsc->snap_rwsem); in ceph_finish_async_create()
729 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open() local
809 err = ceph_mdsc_submit_request(mdsc, dir, req); in ceph_atomic_open()
827 err = ceph_mdsc_do_request(mdsc, (flags & O_CREAT) ? dir : NULL, req); in ceph_atomic_open()
986 ceph_update_read_metrics(&fsc->mdsc->metric, in ceph_sync_read()
1267 struct ceph_client_metric *metric = &fsc->mdsc->metric; in ceph_direct_read_write()
1564 ceph_update_write_metrics(&fsc->mdsc->metric, req->r_start_latency, in ceph_sync_write()
2333 ceph_update_copyfrom_metrics(&fsc->mdsc->metric, in ceph_do_objects_copy()