From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753797AbbCJQOW (ORCPT ); Tue, 10 Mar 2015 12:14:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33508 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932101AbbCJQOS (ORCPT ); Tue, 10 Mar 2015 12:14:18 -0400 Date: Tue, 10 Mar 2015 17:13:37 +0100 (CET) From: =?ISO-8859-15?Q?Luk=E1=A8_Czerner?= X-X-Sender: lczerner@localhost.localdomain To: Beata Michalska cc: Jan Kara , 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 In-Reply-To: <54FF0CD8.10709@gmail.com> Message-ID: 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> <54FF0CD8.10709@gmail.com> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 10 Mar 2015, Beata Michalska wrote: > Date: Tue, 10 Mar 2015 16:25:12 +0100 > From: Beata Michalska > 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 > > 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 A while back I was prototyping a netlink notification interface for file systems, but it went nowhere. https://lkml.org/lkml/2011/8/18/170 So maybe it's time get back to the drawing board and finish the idea, since it seems to be some interest in this now. -Lukas > > -- > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f45.google.com (mail-qg0-f45.google.com [209.85.192.45]) by kanga.kvack.org (Postfix) with ESMTP id 3F10E900020 for ; Tue, 10 Mar 2015 12:14:13 -0400 (EDT) Received: by qgdq107 with SMTP id q107so3062100qgd.7 for ; Tue, 10 Mar 2015 09:14:13 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id el5si902913qcb.33.2015.03.10.09.14.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Mar 2015 09:14:12 -0700 (PDT) Date: Tue, 10 Mar 2015 17:13:37 +0100 (CET) From: =?ISO-8859-15?Q?Luk=E1=A8_Czerner?= Subject: Re: [RFC] shmem: Add eventfd notification on utlilization level In-Reply-To: <54FF0CD8.10709@gmail.com> Message-ID: 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> <54FF0CD8.10709@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Beata Michalska Cc: Jan Kara , Christoph Hellwig , Kyungmin Park , Krzysztof Kozlowski , Hugh Dickins , linux-mm , Linux Kernel Mailing List , Alexander Viro , Linux Filesystem Mailing List , Bartlomiej Zolnierkiewicz , Marek Szyprowski On Tue, 10 Mar 2015, Beata Michalska wrote: > Date: Tue, 10 Mar 2015 16:25:12 +0100 > From: Beata Michalska > 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 > > 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 A while back I was prototyping a netlink notification interface for file systems, but it went nowhere. https://lkml.org/lkml/2011/8/18/170 So maybe it's time get back to the drawing board and finish the idea, since it seems to be some interest in this now. -Lukas > > -- > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org