From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932242AbbCJPZU (ORCPT ); Tue, 10 Mar 2015 11:25:20 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:62876 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752140AbbCJPZQ (ORCPT ); Tue, 10 Mar 2015 11:25:16 -0400 X-AuditID: cbfec7f5-b7fc86d0000066b7-74-54ff0c4452bc Message-id: <54FF0CD8.10709@gmail.com> Date: Tue, 10 Mar 2015 16:25:12 +0100 From: Beata Michalska User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 MIME-version: 1.0 To: Jan Kara 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 Subject: Re: [RFC] shmem: Add eventfd notification on utlilization level 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> In-reply-to: <20150310142237.GA2095@quack.suse.cz> Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrJLMWRmVeSWpSXmKPExsVy+t/xK7ouPP9DDL5N4bbYOGM9q8XpCYuY LJ5+6mOxmD29mcni9QtDi1uXV7FY7Nl7ksXi8q45bBb31vxntVh75C67xfm/x1kduD0WbCr1 2LxCy2PTp0nsHn1bVjF6nFlwhN3j8yY5j01P3jIFsEdx2aSk5mSWpRbp2yVwZXz6p1Lwk73i 3MovjA2Mi9m6GDk5JARMJCbO/84OYYtJXLi3HijOxSEksJRRYtqrG6wQzkdGiVtHrzOCVPEK qEm8WfIDrINFQFViyrFLYJPYBHQlet9cZQaxRQUiJP6c3scKUS8o8WPyPRYQW0RAWmLWsZVg NrPAFWaJd89dQGxhAQ+Jv+3bGCGWzWKSmP78AdgyTgEjiUk/1rNDNOhI7G+dxgZhy0tsXvOW eQKjwCwkO2YhKZuFpGwBI/MqRtHU0uSC4qT0XCO94sTc4tK8dL3k/NxNjJDo+LqDcekxq0OM AhyMSjy8N6L/hQixJpYVV+YeYpTgYFYS4Y37BxTiTUmsrEotyo8vKs1JLT7EyMTBKdXAmJZR UeabonJbnVN38RT77oBr/4q6XSUPRYb7yLssKItcG/B3Fn/+xEymGc/d4qdcmCn+gpvFvOVO 8l+2bNY6tmPtyeFaiu8ue884K2a4vWzOmk/Rf4I4yhhjebTm9r85K2fku670vs2TvbcaI29u r+R2zd53sed+6O70rPz8eR4TLhs+dwtUYinOSDTUYi4qTgQAAM5XfWwCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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