Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/fs/xfs/
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_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()
562 dqp->q_blk.softlimit = be64_to_cpu(ddqp->d_blk_softlimit); in xfs_dquot_from_disk()
[all …]
Dxfs_qm_syscalls.c460 res->softlimit = soft; in xfs_setqlim_limits()
574 dqp->q_blk.softlimit; in xfs_qm_scall_setqlim()
591 dqp->q_rtb.softlimit; in xfs_qm_scall_setqlim()
607 dqp->q_ino.softlimit; in xfs_qm_scall_setqlim()
649 dst->d_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_blk.softlimit); in xfs_qm_scall_getquota_fill_qc()
651 dst->d_ino_softlimit = dqp->q_ino.softlimit; in xfs_qm_scall_getquota_fill_qc()
659 dst->d_rt_spc_softlimit = XFS_FSB_TO_B(mp, dqp->q_rtb.softlimit); in xfs_qm_scall_getquota_fill_qc()
681 if ((dst->d_ino_count > dqp->q_ino.softlimit) && in xfs_qm_scall_getquota_fill_qc()
682 (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_trans_dquot.c588 xfs_qcnt_t softlimit = res->softlimit; in xfs_dqresv_check() local
601 if (!softlimit) in xfs_dqresv_check()
602 softlimit = qlim->soft; in xfs_dqresv_check()
609 if (softlimit && total_count > softlimit) { in xfs_dqresv_check()
Dxfs_dquot.h39 xfs_qcnt_t softlimit; member
Dxfs_qm.c565 defq->blk.soft = dqp->q_blk.softlimit; in xfs_qm_set_defquota()
567 defq->ino.soft = dqp->q_ino.softlimit; in xfs_qm_set_defquota()
569 defq->rtb.soft = dqp->q_rtb.softlimit; in xfs_qm_set_defquota()
Dxfs_trace.h902 __entry->blk_softlimit = dqp->q_blk.softlimit;
904 __entry->rtb_softlimit = dqp->q_rtb.softlimit;
906 __entry->ino_softlimit = dqp->q_ino.softlimit;
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dquota.c110 if (dq->q_blk.softlimit > dq->q_blk.hardlimit) in xchk_quota_item()
115 if (dq->q_ino.softlimit > dq->q_ino.hardlimit) in xchk_quota_item()
120 if (dq->q_rtb.softlimit > dq->q_rtb.hardlimit) in xchk_quota_item()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()