Searched refs:iops_limit (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/fs/btrfs/ |
D | discard.c | 526 u32 iops_limit; in btrfs_discard_calc_delay() local 557 iops_limit = READ_ONCE(discard_ctl->iops_limit); in btrfs_discard_calc_delay() 558 if (iops_limit) in btrfs_discard_calc_delay() 560 MSEC_PER_SEC / iops_limit); in btrfs_discard_calc_delay() 697 discard_ctl->iops_limit = BTRFS_DISCARD_MAX_IOPS; in btrfs_discard_init()
|
D | sysfs.c | 419 READ_ONCE(fs_info->discard_ctl.iops_limit)); in btrfs_discard_iops_limit_show() 428 u32 iops_limit; in btrfs_discard_iops_limit_store() local 431 ret = kstrtou32(buf, 10, &iops_limit); in btrfs_discard_iops_limit_store() 435 WRITE_ONCE(discard_ctl->iops_limit, iops_limit); in btrfs_discard_iops_limit_store() 439 BTRFS_ATTR_RW(discard, iops_limit, btrfs_discard_iops_limit_show, 508 BTRFS_ATTR_PTR(discard, iops_limit),
|
D | ctree.h | 476 u32 iops_limit; member
|
/kernel/linux/linux-5.10/block/ |
D | blk-throttle.c | 897 u32 iops_limit, unsigned long *wait) in tg_with_in_iops_limit() argument 904 if (iops_limit == UINT_MAX) { in tg_with_in_iops_limit() 922 tmp = (u64)iops_limit * jiffy_elapsed_rnd; in tg_with_in_iops_limit() 1003 u32 iops_limit = tg_iops_limit(tg, rw); in tg_may_dispatch() local 1015 if (bps_limit == U64_MAX && iops_limit == UINT_MAX) { in tg_may_dispatch() 1037 if (iops_limit != UINT_MAX) in tg_may_dispatch() 1041 tg_with_in_iops_limit(tg, bio, iops_limit, &iops_wait)) { in tg_may_dispatch()
|