From mboxrd@z Thu Jan 1 00:00:00 1970 From: Beata Michalska Subject: Re: [RFC] shmem: Add eventfd notification on utlilization level Date: Tue, 10 Mar 2015 16:25:12 +0100 Message-ID: <54FF0CD8.10709@gmail.com> References: <1423666208-10681-1-git-send-email-k.kozlowski@samsung.com> <1423666208-10681-2-git-send-email-k.kozlowski@samsung.com> <20150310130323.GA1515@infradead.org> <20150310142237.GA2095@quack.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Christoph Hellwig , Kyungmin Park , Krzysztof Kozlowski , Hugh Dickins , linux-mm , Linux Kernel Mailing List , Alexander Viro , Linux Filesystem Mailing List , Bartlomiej Zolnierkiewicz , Marek Szyprowski To: Jan Kara Return-path: In-reply-to: <20150310142237.GA2095@quack.suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 03/10/2015 03:22 PM, Jan Kara wrote: > On Tue 10-03-15 06:03:23, Christoph Hellwig wrote: >> On Tue, Mar 10, 2015 at 10:51:41AM +0900, Kyungmin Park wrote: >>> Any updates? >> Please just add disk quota support to tmpfs so thast the standard quota >> netlink notifications can be used. > If I understand the problem at hand, they are really interested in > notification when running out of free space. Using quota for that doesn't > seem ideal since that tracks used space per user, not free space on fs as a > whole. > > But if I remember right there were discussions about ENOSPC notification > from filesystem for thin provisioning usecases. It would be good to make > this consistent with those but I'm not sure if it went anywhere. > > Honza The ideal case here, would be to get the notification, despite the type of the actual filesystem, whenever the amount of free space drops below a certain level. Quota doesn't seem to be the right approach here. BR Beata Michalska