Searched refs:congestion_kb (Results 1 – 4 of 4) sorted by relevance
84 unsigned int congestion_kb; /* max writeback in flight */ member887 int congestion_kb; in default_congestion_kb() local907 congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10); in default_congestion_kb()908 if (congestion_kb > 256*1024) in default_congestion_kb()909 congestion_kb = 256*1024; in default_congestion_kb()911 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))638 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()697 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()779 fsc->mount_options->congestion_kb)) in writepages_finish()1024 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()
369 fsopt->congestion_kb = result.uint_32; in ceph_parse_mount_param()590 if (fsopt->congestion_kb != default_congestion_kb()) in ceph_show_options()591 seq_printf(m, ",write_congestion_kb=%u", fsopt->congestion_kb); in ceph_show_options()1199 fsopt->congestion_kb = default_congestion_kb(); in ceph_init_fs_context()