[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120118174732.GG30664@google.com>
Date: Wed, 18 Jan 2012 09:47:32 -0800
From: Tejun Heo <tj@...nel.org>
To: Li Zefan <lizf@...fujitsu.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Cgroups <cgroups@...r.kernel.org>,
Lennart Poettering <mzxreary@...inter.de>,
Kay Sievers <kay.sievers@...y.org>
Subject: Re: [PATCH 2/2] cgroup: add xattr support
Hello,
On Wed, Jan 18, 2012 at 04:27:18PM +0800, Li Zefan wrote:
> Furthermore, I noticed tmpfs also implemented xattr support, and we
> should be able to share most of the code, which makes the cost for
> having this feature smaller.
Yes, maybe, but tmpfs doesn't have any special semantics attached to
files. It's supposed to store opaque data from userland. Regardless
of code complexity, I just don't think this is a good idea. What if
we later want to attach certain config meaning to or export statistics
via xattrs? That would be quite unusual and require strong rationale
but at least fall in the similar usage as with the rest of the fs.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists