Home
last modified time | relevance | path

Searched refs:congestion_kb (Results 1 – 4 of 4) sorted by relevance

/linux/fs/ceph/
H A Dsuper.h86 unsigned int congestion_kb; /* max writeback in flight */ member
992 int congestion_kb; in default_congestion_kb() local
1012 congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10); in default_congestion_kb()
1013 if (congestion_kb > 256*1024) in default_congestion_kb()
1014 congestion_kb = 256*1024; in default_congestion_kb()
1016 return congestion_kb; in default_congestion_kb()
H A Daddr.c63 #define CONGESTION_ON_THRESH(congestion_kb) (congestion_kb >> (PAGE_SHIFT-10)) argument
64 #define CONGESTION_OFF_THRESH(congestion_kb) \ argument
65 (CONGESTION_ON_THRESH(congestion_kb) - \
66 (CONGESTION_ON_THRESH(congestion_kb) >> 2))
783 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in write_folio_nounlock()
870 CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) in write_folio_nounlock()
946 fsc->mount_options->congestion_kb)) in writepages_finish()
1256 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb); in is_write_congestion_happened()
H A Ddebugfs.c531 fsc->mount_options->congestion_kb = (int)val; in congestion_kb_set()
539 *val = (u64)fsc->mount_options->congestion_kb; in congestion_kb_get()
H A Dsuper.c495 fsopt->congestion_kb = result.uint_32; in ceph_parse_mount_param()
761 if (fsopt->congestion_kb != default_congestion_kb()) in ceph_show_options()
762 seq_printf(m, ",write_congestion_kb=%u", fsopt->congestion_kb); in ceph_show_options()
1466 fsopt->congestion_kb = default_congestion_kb(); in ceph_init_fs_context()