All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Reiser4 for 3.6 a.k.a. removal of ->write_super()
       [not found] <122562318.lEkMybZ46d@intelfx-laptop>
@ 2012-09-19 20:55 ` Edward Shishkin
  2012-09-20 15:41   ` Ivan Shapovalov
  0 siblings, 1 reply; 2+ messages in thread
From: Edward Shishkin @ 2012-09-19 20:55 UTC (permalink / raw)
  To: Ivan Shapovalov, ReiserFS Development List

On 09/19/2012 08:28 PM, Ivan Shapovalov wrote:
> Hi, Edward!
>

Hello.

> The 3.6 is will be released soon, and among trivial vfs changes there is one
> pretty non-trivial: removal of sync_supers thread and ->write_super() of
> super_operations.
> Reiserfs (v3) compensates for it by introducing its own workqueue; does
> reiser4 need something like that (or write_super() may be just removed
> completely)?
> If yes, then I'll attempt to make analogous changes to reiser4...
>

Long time ago (before 2.6.32, or so) ->write_super() was used by vfs
for sync(). However, starting from .32 (or so) it isn't, so I have
written a reiser4 implementation of ->sync_fs() for this purpose.

It seems that nowadays reiser4_sync_super is completely defuncted
(please, check) and is not needed any more. Reiser4 has its own
periodic writeout means (ktxnmgrd). ReiserFS (v3) didn't have this one.

So, I think, remove...

Thanks,
Edward.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Reiser4 for 3.6 a.k.a. removal of ->write_super()
  2012-09-19 20:55 ` Reiser4 for 3.6 a.k.a. removal of ->write_super() Edward Shishkin
@ 2012-09-20 15:41   ` Ivan Shapovalov
  0 siblings, 0 replies; 2+ messages in thread
From: Ivan Shapovalov @ 2012-09-20 15:41 UTC (permalink / raw)
  To: Edward Shishkin; +Cc: ReiserFS Development List

On Wednesday 19 September 2012 22:55:48 Edward Shishkin wrote:
> On 09/19/2012 08:28 PM, Ivan Shapovalov wrote:
> > Hi, Edward!
> 
> Hello.
> 
> > The 3.6 is will be released soon, and among trivial vfs changes there is
> > one pretty non-trivial: removal of sync_supers thread and ->write_super()
> > of super_operations.
> > Reiserfs (v3) compensates for it by introducing its own workqueue; does
> > reiser4 need something like that (or write_super() may be just removed
> > completely)?
> > If yes, then I'll attempt to make analogous changes to reiser4...
> 
> Long time ago (before 2.6.32, or so) ->write_super() was used by vfs
> for sync(). However, starting from .32 (or so) it isn't, so I have
> written a reiser4 implementation of ->sync_fs() for this purpose.
> 
> It seems that nowadays reiser4_sync_super is completely defuncted
> (please, check) and is not needed any more. Reiser4 has its own
> periodic writeout means (ktxnmgrd). ReiserFS (v3) didn't have this one.
> 
> So, I think, remove...
Right, I've just checked the code - it never sets superblock's ->s_dirt to 1,
so the code appears to be completely unused.

Actually, the fs doesn't appear to be damaged after 6 days of usage without
any compensations (I'm running 3.6-rc5 since Sep 14), so I guess it's true. :)

Thanks,
Ivan.
P. S.: I'll send the patch rebased on top of linux 3.6 once it's released...

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-20 15:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <122562318.lEkMybZ46d@intelfx-laptop>
2012-09-19 20:55 ` Reiser4 for 3.6 a.k.a. removal of ->write_super() Edward Shishkin
2012-09-20 15:41   ` Ivan Shapovalov

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.