Searched refs:congestion_kb (Results 1 – 4 of 4) sorted by relevance
84 unsigned int congestion_kb; /* max writeback in flight */ member865 int congestion_kb; in default_congestion_kb() local885 congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10); in default_congestion_kb()886 if (congestion_kb > 256*1024) in default_congestion_kb()887 congestion_kb = 256*1024; in default_congestion_kb()889 return congestion_kb; in default_congestion_kb()
59 #define CONGESTION_ON_THRESH(congestion_kb) (congestion_kb >> (PAGE_SHIFT-10)) argument60 #define CONGESTION_OFF_THRESH(congestion_kb) \ argument61 (CONGESTION_ON_THRESH(congestion_kb) - \62 (CONGESTION_ON_THRESH(congestion_kb) >> 2))646 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()705 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()787 fsc->mount_options->congestion_kb)) in writepages_finish()1032 fsc->mount_options->congestion_kb)) { in ceph_writepages_start()
321 fsc->mount_options->congestion_kb = (int)val; in congestion_kb_set()329 *val = (u64)fsc->mount_options->congestion_kb; in congestion_kb_get()
368 fsopt->congestion_kb = result.uint_32; in ceph_parse_mount_param()589 if (fsopt->congestion_kb != default_congestion_kb()) in ceph_show_options()590 seq_printf(m, ",write_congestion_kb=%u", fsopt->congestion_kb); in ceph_show_options()1187 fsopt->congestion_kb = default_congestion_kb(); in ceph_init_fs_context()