Searched refs:congestion_kb (Results 1 – 4 of 4) sorted by relevance
85 unsigned int congestion_kb; /* max writeback in flight */ member947 int congestion_kb; in default_congestion_kb() local967 congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10); in default_congestion_kb()968 if (congestion_kb > 256*1024) in default_congestion_kb()969 congestion_kb = 256*1024; in default_congestion_kb()971 return congestion_kb; in default_congestion_kb()
61 #define CONGESTION_ON_THRESH(congestion_kb) (congestion_kb >> (PAGE_SHIFT-10)) argument62 #define CONGESTION_OFF_THRESH(congestion_kb) \ argument63 (CONGESTION_ON_THRESH(congestion_kb) - \64 (CONGESTION_ON_THRESH(congestion_kb) >> 2))712 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()792 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()888 fsc->mount_options->congestion_kb)) in writepages_finish()1151 fsc->mount_options->congestion_kb)) in ceph_writepages_start()
383 fsc->mount_options->congestion_kb = (int)val; in congestion_kb_set()391 *val = (u64)fsc->mount_options->congestion_kb; in congestion_kb_get()
491 fsopt->congestion_kb = result.uint_32; in ceph_parse_mount_param()757 if (fsopt->congestion_kb != default_congestion_kb()) in ceph_show_options()758 seq_printf(m, ",write_congestion_kb=%u", fsopt->congestion_kb); in ceph_show_options()1448 fsopt->congestion_kb = default_congestion_kb(); in ceph_init_fs_context()