All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edward Shishkin <edward.shishkin@gmail.com>
To: Jan Kara <jack@suse.cz>
Cc: reiserfs-devel@vger.kernel.org,
	Vladimir Saveliev <Vladimir.Saveliev@sun.com>
Subject: Re: Calling finish_unfinished() too often?
Date: Wed, 30 Apr 2008 22:13:35 +0400	[thread overview]
Message-ID: <4818B6CF.7080804@gmail.com> (raw)
In-Reply-To: <20080430112329.GE19688@duck.suse.cz>

Jan Kara wrote:

>  Hi,
>
>  I was just looking into reiserfs remount code and it seems it calls
>finish_unfinished() whenever filesystem is remounted and isn't in read-only
>mode. Isn't this unnecessary? I thought finish_unfinished() is needed only
>when we remount from read-only to read-write state for the first time...
>  
>

Perhaps, you are right (if we don't miss some points). But we need to 
keep a track
of first successful remounts to rw state, and it requires a special flag 
in in-memory
superblock (I don't see another way).

>  Well, I wouldn't mind the performance impact to remount that much
>

yeah,  definitely benchmarks lack "1000 remounts"statistics ;)

> but it
>would make my life with journaled quota a bit easier ;). Thanks for an
>answer in advance.
>
>								Honza
>  
>


  reply	other threads:[~2008-04-30 18:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-30 11:23 Calling finish_unfinished() too often? Jan Kara
2008-04-30 18:13 ` Edward Shishkin [this message]
2008-05-06 17:34   ` Jan Kara
2008-05-08 11:44     ` Edward Shishkin
2008-05-08 16:16       ` Jan Kara

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=4818B6CF.7080804@gmail.com \
    --to=edward.shishkin@gmail.com \
    --cc=Vladimir.Saveliev@sun.com \
    --cc=jack@suse.cz \
    --cc=reiserfs-devel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.