Re: reiserfs blocks long on getdents64() during concurrent write

From: Roland Kuhn (rkuhn@e18.physik.tu-muenchen.de)
Date: Mon Aug 05 2002 - 14:48:31 EST


Hi!

sorry, I read this mail after Oleg's, so disregard my previous post.

On 5 Aug 2002, Chris Mason wrote:

> On Mon, 2002-08-05 at 14:30, Oleg Drokin wrote:
> > Hello!
> >
> > On Mon, Aug 05, 2002 at 08:19:05PM +0200, Roland Kuhn wrote:
> > > > > > ftp://ftp.suse.com/pub/people/mason/patches/data-logging/02-commit_super-8-relocation.diff.gz
> > > >From there I get 'permission denied', but I got it somewhere else (google
> > > is great).
> > > However, it does not apply cleanly to 2.4.19. It is already partly in, as
> > > it seems, but there are some rejects that are not obvious to fix for me.
> > > If this patch still makes sense, it would be great if someone with more
> > > knowledge/experience than me could have a look...
>
> The stack traces you sent earlier show a few procs stuck waiting for the
> transaction to begin, but they don't show which process is currently in
> a transaction (this is who they are waiting on).
>
The ShowTasks output is attached (it's a RedHat patched klogd which
resolves symbols on the fly). To me it looks like kupdated is indeed
inside do_journal_end().

> Oleg is right, they are probably waiting on kupdated, since the FS might
> get marked dirty faster than it can clear it.
>
> Another possibility is ctime/mtime updates during write.
>
In our application there are always at least one writer and one reader
active in one directory of the partition, both with data rates up to
10MB/s. The reader uses a block size of 128kB, but I don't know about the
writer.

> So, on ftp.suse.com/pub/people/mason/patches/data-logging
>
> Apply:
> 01-relocation-4.diff
> 02-commit_super-8.diff # this is the one you want, but it depends on 01.
>
Okay, will try.

> And try again. If that doesn't do it, try 04-write_times.diff (which
> doesn't depend on anything).
>
Is there a documentation about what this patch does as a whole?

Ciao,
                                        Roland

+---------------------------+-------------------------+
| TU Muenchen | |
| Physik-Department E18 | Raum 3558 |
| James-Franck-Str. | Telefon 089/289-12592 |
| 85747 Garching | |
+---------------------------+-------------------------+



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:28 EST