Re: [PATCH v2 0/2] ext4: Add pollable sysfs entry for block threshold events
From: Beata Michalska
Date: Wed Mar 18 2015 - 05:31:29 EST
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).
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/