Home
last modified time | relevance | path

Searched refs:softlimit (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.15/Documentation/filesystems/
Dquota.rst10 of used inodes there are actually two limits. The first one is called softlimit
13 softlimit but only for limited period of time. This period is called "grace
15 more space/inodes until he frees enough of them to get below softlimit.
25 When user exceeds a softlimit, runs out of grace time or reaches hardlimit,
58 inode softlimit is exceeded longer
61 inode softlimit
65 space (block) softlimit is exceeded
68 space (block) softlimit
76 inode softlimit
80 space (block) softlimit
/Linux-v5.15/fs/xfs/
Dxfs_dquot.c80 if (!dq->q_blk.softlimit) { in xfs_qm_adjust_dqlimits()
81 dq->q_blk.softlimit = defq->blk.soft; in xfs_qm_adjust_dqlimits()
88 if (!dq->q_ino.softlimit) in xfs_qm_adjust_dqlimits()
89 dq->q_ino.softlimit = defq->ino.soft; in xfs_qm_adjust_dqlimits()
92 if (!dq->q_rtb.softlimit) in xfs_qm_adjust_dqlimits()
93 dq->q_rtb.softlimit = defq->rtb.soft; in xfs_qm_adjust_dqlimits()
131 ASSERT(res->hardlimit == 0 || res->softlimit <= res->hardlimit); in xfs_qm_adjust_res_timer()
133 if ((res->softlimit && res->count > res->softlimit) || in xfs_qm_adjust_res_timer()
270 dqp->q_prealloc_lo_wmark = dqp->q_blk.softlimit; in xfs_dquot_set_prealloc_limits()
568 dqp->q_blk.softlimit = be64_to_cpu(ddqp->d_blk_softlimit); in xfs_dquot_from_disk()
[all …]
Dxfs_qm_bhv.c26 limit = dqp->q_blk.softlimit ? in xfs_fill_statvfs_from_dquot()
27 dqp->q_blk.softlimit : in xfs_fill_statvfs_from_dquot()
36 limit = dqp->q_ino.softlimit ? in xfs_fill_statvfs_from_dquot()
37 dqp->q_ino.softlimit : in xfs_fill_statvfs_from_dquot()
Dxfs_qm_syscalls.c244 res->softlimit = soft; in xfs_setqlim_limits()
358 dqp->q_blk.softlimit; in xfs_qm_scall_setqlim()
375 dqp->q_rtb.softlimit; in xfs_qm_scall_setqlim()
391 dqp->q_ino.softlimit; in xfs_qm_scall_setqlim()
433 dst->d_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_blk.softlimit); in xfs_qm_scall_getquota_fill_qc()
435 dst->d_ino_softlimit = dqp->q_ino.softlimit; in xfs_qm_scall_getquota_fill_qc()
443 dst->d_rt_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.softlimit); in xfs_qm_scall_getquota_fill_qc()
465 if ((dst->d_ino_count > dqp->q_ino.softlimit) && in xfs_qm_scall_getquota_fill_qc()
466 (dqp->q_ino.softlimit > 0)) { in xfs_qm_scall_getquota_fill_qc()
Dxfs_qm.h24 !dqp->q_blk.softlimit && \
26 !dqp->q_rtb.softlimit && \
28 !dqp->q_ino.softlimit && \
Dxfs_dquot.h39 xfs_qcnt_t softlimit; member
61 if ((qres->softlimit && qres->softlimit < qres->reserved) || in xfs_dquot_res_over_limits()
Dxfs_trans_dquot.c576 xfs_qcnt_t softlimit = res->softlimit; in xfs_dqresv_check() local
589 if (!softlimit) in xfs_dqresv_check()
590 softlimit = qlim->soft; in xfs_dqresv_check()
597 if (softlimit && total_count > softlimit) { in xfs_dqresv_check()
Dxfs_qm.c561 defq->blk.soft = dqp->q_blk.softlimit; in xfs_qm_set_defquota()
563 defq->ino.soft = dqp->q_ino.softlimit; in xfs_qm_set_defquota()
565 defq->rtb.soft = dqp->q_rtb.softlimit; in xfs_qm_set_defquota()
Dxfs_trace.h1041 __entry->blk_softlimit = dqp->q_blk.softlimit;
1043 __entry->rtb_softlimit = dqp->q_rtb.softlimit;
1045 __entry->ino_softlimit = dqp->q_ino.softlimit;
/Linux-v5.15/fs/xfs/scrub/
Dquota.c109 if (dq->q_blk.softlimit > dq->q_blk.hardlimit) in xchk_quota_item()
114 if (dq->q_ino.softlimit > dq->q_ino.hardlimit) in xchk_quota_item()
119 if (dq->q_rtb.softlimit > dq->q_rtb.hardlimit) in xchk_quota_item()
/Linux-v5.15/fs/quota/
DKconfig26 If you say Y here, quota warnings (about exceeding softlimit, reaching
35 If you say Y here, quota warnings (about exceeding softlimit, reaching
/Linux-v5.15/fs/ubifs/
Dio.c493 ktime_t softlimit = ms_to_ktime(dirty_writeback_interval * 10); in new_wbuf_timer_nolock() local
506 div_u64(ktime_to_ns(softlimit), USEC_PER_SEC), in new_wbuf_timer_nolock()
507 div_u64(ktime_to_ns(softlimit) + delta, USEC_PER_SEC)); in new_wbuf_timer_nolock()
508 hrtimer_start_range_ns(&wbuf->timer, softlimit, delta, in new_wbuf_timer_nolock()