From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755273AbbCRJbR (ORCPT ); Wed, 18 Mar 2015 05:31:17 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:31968 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754744AbbCRJbP (ORCPT ); Wed, 18 Mar 2015 05:31:15 -0400 X-AuditID: cbfec7f5-b7fc86d0000066b7-6e-5509454aaf6b Message-id: <550945D5.4060805@samsung.com> Date: Wed, 18 Mar 2015 10:31:01 +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: Christoph Hellwig Cc: lczerner@redhat.com, adilger.kernel@dilger.ca, tytso@mit.edu, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, kyungmin.park@samsung.com Subject: Re: [PATCH v2 0/2] ext4: Add pollable sysfs entry for block threshold events References: <1426512329-24299-1-git-send-email-b.michalska@samsung.com> <20150316132843.GA8188@infradead.org> In-reply-to: <20150316132843.GA8188@infradead.org> Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrALMWRmVeSWpSXmKPExsVy+t/xK7perpyhBh92i1h8/dLBYnF6wiIm i7NNb9gtlj3YzGIxc94dNovLu+awWbT2/GR3YPdo2VzusXmFlkfTmaPMHu/3XWXz6NuyitHj 8ya5ALYoLpuU1JzMstQifbsErowNE46xFMxhr7j7t5GxgfERaxcjJ4eEgInEp717mSBsMYkL 99azgdhCAksZJf72MncxcgHZHxklLk68ztLFyMHBK6Al0XzaFaSGRUBVYt61t8wgNpuAvsSr GSvB5ogKREj8Ob0PbD6vgKDEj8n3WEBsEQFNiVvL28FmMgvMZJR4MrcZbJmwQLjE3VfNzBCL 8yVOP5jEDmJzChhJbOqaDTaIWUBHYn/rNDYIW15i85q3zBMYBWYh2TELSdksJGULGJlXMYqm liYXFCel5xrpFSfmFpfmpesl5+duYoSE+tcdjEuPWR1iFOBgVOLhdfjBESrEmlhWXJl7iFGC g1lJhDeXmzNUiDclsbIqtSg/vqg0J7X4ECMTB6dUA+PEIOayBamfl7IncklK//j59rdltP0D 971nZ5z0cFu4aJ05S5mS0QnOQ9ttutU018m+Lnx1IzZcIeZb377oCUe0rspp3Oj5maijccVY pPOk4mOFMFGD1PuZ1s73WWTdOPhOrT2WwP5+/r1NSy+7uTWm3V/5wFvtQ9ZU5tiZk21z3v1/ rhAaE6bEUpyRaKjFXFScCAAbg01EUwIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/16/2015 02:28 PM, Christoph Hellwig wrote: > Between this and the recent tmpfs discussion I really think this > needs to be done in a generic way. Given that the quota noticiations > already use netlink general space notifications seem like a very > sensible extension for them. > First of all, apologies for late response. I do agree that having a generic solution is the perfect one though non-trivial. If I understood You correctly, You would like to have quota being extended to cover the case in subject; smth similar to xfs project quota and its pqnoenforce mount option, as this would require disabling enforcing both: soft and hard limits ? We could also consider going back to already mentioned, in another thread, the netlink notification interface proposal, though this still leaves the problem on how to setup the thresholds (as it covers only the ENOSPC case). BR Beata