Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2023 15:34:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275436] tmpfs does not honor memory limits on writes
Message-ID:  <bug-275436-227-ofcRrK9gTG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275436-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275436-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275436

--- Comment #13 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Ded19c0989fe77ec3c9d7bdb752bab6bbe=
f4c0be6

commit ed19c0989fe77ec3c9d7bdb752bab6bbef4c0be6
Author:     Mike Karels <karels@FreeBSD.org>
AuthorDate: 2023-12-19 15:32:58 +0000
Commit:     Mike Karels <karels@FreeBSD.org>
CommitDate: 2023-12-19 15:32:58 +0000

    tmpfs: enforce size limit on writes when file system size is default

    tmpfs enforced the file system size limit on writes for file systems
    with a specified size, but not when the size was the default.  Add
    enforcement when the size is default: do not allocate additional
    pages if the available memory + swap falls to the reserve level.
    Note, enforcement is also done when attempting to create a file,
    both with and without an explicit file system size.

    PR:             275436
    MFC after:      1 month
    Reviewed by:    cy
    Differential Revision:  https://reviews.freebsd.org/D43010

 sys/fs/tmpfs/tmpfs_subr.c | 2 ++
 1 file changed, 2 insertions(+)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275436-227-ofcRrK9gTG>