Lines Matching defs:fsc
182 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
183 struct ceph_osd_client *osdc = &fsc->client->osdc;
227 ceph_update_read_latency(&fsc->mdsc->metric, req->r_start_latency,
238 fsc->blocklisted = true;
270 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
309 ceph_update_read_latency(&fsc->mdsc->metric, req->r_start_latency,
457 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
473 max = fsc->mount_options->rsize >> PAGE_SHIFT;
595 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
601 struct ceph_osd_client *osdc = &fsc->client->osdc;
637 if (atomic_long_inc_return(&fsc->writeback_count) >
638 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb))
662 ceph_update_write_latency(&fsc->mdsc->metric, req->r_start_latency,
681 fsc->blocklisted = true;
696 if (atomic_long_dec_return(&fsc->writeback_count) <
697 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb))
737 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
745 fsc->blocklisted = true;
750 ceph_update_write_latency(&fsc->mdsc->metric, req->r_start_latency,
777 if (atomic_long_dec_return(&fsc->writeback_count) <
779 fsc->mount_options->congestion_kb))
819 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
835 if (READ_ONCE(fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) {
844 if (fsc->mount_options->wsize < wsize)
845 wsize = fsc->mount_options->wsize;
1022 if (atomic_long_inc_return(&fsc->writeback_count) >
1024 fsc->mount_options->congestion_kb)) {
1063 req = ceph_osdc_new_request(&fsc->client->osdc,
1070 req = ceph_osdc_new_request(&fsc->client->osdc,
1161 rc = ceph_osdc_start_request(&fsc->client->osdc, req, true);
1256 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
1259 if (READ_ONCE(fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) {
1743 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
1799 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout,
1809 err = ceph_osdc_start_request(&fsc->client->osdc, req, false);
1811 err = ceph_osdc_wait_request(&fsc->client->osdc, req);
1816 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout,
1851 err = ceph_osdc_start_request(&fsc->client->osdc, req, false);
1853 err = ceph_osdc_wait_request(&fsc->client->osdc, req);
1855 ceph_update_write_latency(&fsc->mdsc->metric, req->r_start_latency,
1900 struct ceph_fs_client *fsc = ceph_inode_to_client(&ci->vfs_inode);
1901 struct ceph_mds_client *mdsc = fsc->mdsc;
1970 rd_req = ceph_osdc_alloc_request(&fsc->client->osdc, NULL,
1988 wr_req = ceph_osdc_alloc_request(&fsc->client->osdc, NULL,
2013 err = ceph_osdc_start_request(&fsc->client->osdc, rd_req, false);
2016 err2 = ceph_osdc_start_request(&fsc->client->osdc, wr_req, false);
2019 err = ceph_osdc_wait_request(&fsc->client->osdc, rd_req);
2021 err2 = ceph_osdc_wait_request(&fsc->client->osdc, wr_req);
2027 fsc->blocklisted = true;
2035 fsc->blocklisted = true;