[Devel] [PATCH] mm: strictlimit feature -v3
Miklos Szeredi
miklos at szeredi.hu
Mon Jul 15 03:35:23 PDT 2013
On Thu, Jul 11, 2013 at 11:50 PM, Maxim Patlasov
<MPatlasov at parallels.com> wrote:
> On Thu, Jul 11, 2013 at 10:51 PM, Jan Kara <jack at suse.cz> wrote:
[snipped]
>> If I'm right in the above, then removing NR_WRITEBACK_TEMP would be a nice
>> followup patch.
>
> I'd rather introduce the notion of trusted fuse filesystem. If system
> administrator believe given fuse fs "trusted", it works w/o
> strictlimit, but fuse daemon is supposed to notify the kernel
> explicitly about threads related to processing writeback. The kernel
> would raise a per-task flag for those threads. And, calculating
> nr_dirty in balance_dirty_pages, we'd add NR_WRITEBACK_TEMP for all,
> excepting tasks with the flag set. This is very simple and will work
> perfectly.
Yes, doing a trusted mode for fuse is a good idea, I think. And it
should have a new filesystem type (can't think of a good name though,
"fusetrusted" is a bit too long).
Thanks,
Miklos
More information about the Devel
mailing list