From: Artem Bityutskiy <dedekind1@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>,
Linux Kernel Maling List <linux-kernel@vger.kernel.org>,
Linux FS Maling List <linux-fsdevel@vger.kernel.org>,
Jens Axboe <axboe@kernel.dk>, Al Viro <viro@ZenIV.linux.org.uk>
Subject: Re: [PATCH v1 0/3] do not use s_dirt in FAT FS
Date: Fri, 13 Apr 2012 11:45:57 +0300 [thread overview]
Message-ID: <1334306757.2544.77.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <20120413002656.b67e58ad.akpm@linux-foundation.org>
[-- Attachment #1: Type: text/plain, Size: 1613 bytes --]
On Fri, 2012-04-13 at 00:26 -0700, Andrew Morton wrote:
> On Fri, 13 Apr 2012 09:38:28 +0300 Artem Bityutskiy <dedekind1@gmail.com> wrote:
>
> > > That implies that we retain ->write_super, probably in a modified form.
> > > Modified to permit the VFS to determine whether the superblock needs
> > > treatment, if ->s_dirt doesn't suffice.
> >
> > I tried this approach and it was vetoed by Al Viro. Although it is
> > simpler to me to resurrect my old patches, I agree with Al that killing
> > '->write_super()' is a better approach.
>
> Well, it can be done without a super_operation vector - pass the
> library code a superblock* and a function address. But the difference
> is pointless fluff.
May be, let see how many FSes will actually can share things. Per-FS
implementation is better because you do not have to worry about
refcounting and the FS gone by the time a timer expires. Also, when you
know the FS specifics, you can make a decision about whether the timer
can be made deferrable.
Sorry, I did not understand what you meant by "the difference is
pointless fluff" - difference between what and what?
> > Also, if you look at this from the angle that only few old FSes will
> > have this, it becomes not that bad. I assume I will change this
> > patch-set and won't use delayed works here.
>
> I don't think I understand that. You intend to alter this patchset?
Yeah, I think I'll be able to implement one of the two ideas I described
in the previous e-mail, test, and send version two of this patch-set.
Thanks!
--
Best Regards,
Artem Bityutskiy
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2012-04-13 8:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-11 11:45 [PATCH v1 0/3] do not use s_dirt in FAT FS Artem Bityutskiy
2012-04-11 11:45 ` [PATCH v1 1/3] fat: introduce fat_mark_fsinfo_dirty helper Artem Bityutskiy
2012-04-11 11:45 ` [PATCH v1 2/3] fat: mark fsinfo as dirty less often Artem Bityutskiy
2012-04-11 11:45 ` [PATCH v1 3/3] fat: self-manage own fsinfo block Artem Bityutskiy
2012-04-13 0:12 ` [PATCH v1 0/3] do not use s_dirt in FAT FS Andrew Morton
2012-04-13 6:38 ` Artem Bityutskiy
2012-04-13 7:26 ` Andrew Morton
2012-04-13 8:45 ` Artem Bityutskiy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1334306757.2544.77.camel@sauron.fi.intel.com \
--to=dedekind1@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=hirofumi@mail.parknet.co.jp \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@ZenIV.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).