• Jan Kara's avatar
    quota: Generate warnings for DQUOT_SPACE_NOFAIL allocations · ac3d7939
    Jan Kara authored
    Eryu has reported that since commit 7b9ca4c6 "quota: Reduce
    contention on dq_data_lock" test generic/233 occasionally fails. This is
    caused by the fact that since that commit we don't generate warning and
    set grace time for quota allocations that have DQUOT_SPACE_NOFAIL set
    (these are for example some metadata allocations in ext4). We need these
    allocations to behave regularly wrt warning generation and grace time
    setting so fix the code to return to the original behavior.
    Reported-and-tested-by: default avatarEryu Guan <eguan@redhat.com>
    CC: stable@vger.kernel.org
    Fixes: 7b9ca4c6Signed-off-by: default avatarJan Kara <jack@suse.cz>
    ac3d7939
dquot.c 78.8 KB