Skip to contentSkip to conversation

PROBLEM: IO lockup on reiserfs FS.

DISCUSSION David Niklas 3 participants 9 messages Jul 29, 2020 – Sep 24, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

I should add that in chasing down this bug I have tried all the IO schedulers available (noop deadline and cfq). Cfq is the one I'm now using to reproduce this.

Also, I don't know if it makes a difference, but when the system first starts up it takes 20m to get from the login manager to having my web browsers restart and get all their pages from online. It might be because there is a lot of IO going on or it might be that there are several stalls in the scheduling; just not bad enough to cause a hung task problem like above.

#3 lore raw
Quoted 4 lines · On Wed, Aug 5, 2020 at 9:53 AM <[email protected]> wrote:

It's been over 1 week since I sent this into the reiserfs-devel mailing list. I'm escalating this as the kernel docs recommend.
I'm still willing to help debug and test a fix for this problem.

The thing is, you're using an ancient 4.14 kernel, and a filesystem that isn't really maintained any more. You'll find very few people interested in trying to debug that combination.

You *might* have more luck with a more modern kernel, but even then ... reiserfs?

Linus

#4 lore raw
Quoted 7 lines · On Wed, 5 Aug 2020 12:51:41 -0700 Linus Torvalds…
Quoted 4 lines · On Wed, Aug 5, 2020 at 9:53 AM <[email protected]> wrote:

It's been over 1 week since I sent this into the reiserfs-devel mailing list. I'm escalating this as the kernel docs recommend. I'm still willing to help debug and test a fix for this problem.

The thing is, you're using an ancient 4.14 kernel,

Sorry, I didn't realize kernel development went that fast.
I did try to go to the 5.X series, but the AMDGPU drivers don't work on my SI card anymore (I need to bisect which takes time and many re-boots to find the problematic commit).
I'll try the Radeon-SI driver and see if I can reproduce this reliably.

Quoted 9 lines

and a filesystem
that isn't really maintained any more. You'll find very few people interested in trying to debug that combination.

You *might* have more luck with a more modern kernel, but even then ... reiserfs?

Linus

Why does no one (I've met others who share a similar sentiment), like reiserfs? I'm not looking for fight, I'm incredulous. It's a great FS that survives oops-es, power failures, and random crashes very very well. It's the only FLOSS FS with tail packing.

Thanks,
David

#5 lore raw
Quoted 26 lines · On 08/06/2020 02:01 AM, [email protected] wrote:
Quoted 7 lines · On Wed, 5 Aug 2020 12:51:41 -0700 Linus Torvalds…
Quoted 4 lines · On Wed, Aug 5, 2020 at 9:53 AM <[email protected]> wrote:

It's been over 1 week since I sent this into the reiserfs-devel mailing list. I'm escalating this as the kernel docs recommend. I'm still willing to help debug and test a fix for this problem.

The thing is, you're using an ancient 4.14 kernel,

Sorry, I didn't realize kernel development went that fast.
I did try to go to the 5.X series, but the AMDGPU drivers don't work on my SI card anymore (I need to bisect which takes time and many re-boots to find the problematic commit).
I'll try the Radeon-SI driver and see if I can reproduce this reliably.

Quoted 9 lines

and a filesystem
that isn't really maintained any more. You'll find very few people interested in trying to debug that combination.

You *might* have more luck with a more modern kernel, but even then ... reiserfs?

Linus

Quoted 8 lines

Why does no one (I've met others who share a similar sentiment), like reiserfs? I'm not looking for fight, I'm incredulous. It's a great FS that survives oops-es, power failures, and random crashes very very well. It's the only FLOSS FS with tail packing.

Thanks,
David

Hi David,

The feature of "tail packing", that you need, is brought to perfection in Reiser4 file system. Other file systems either don't provide tight packing of records in the storage tree, or they are read-only. You just need to manually patch (*) the kernel and install a pair of user-space packages (**).

The latest stuff (against Linux-5.7) is stable. For older kernels you will need a backport for some fixups (***). We can prepare it for you.

Reiser4 is fully supported. If any problems (including partition check/repair) - send a message to reiserfs-devel mailing list.

(*) https://reiser4.wiki.kernel.org/index.php/Reiser4_Howto
https://sourceforge.net/projects/reiser4/files/
(**) https://sourceforge.net/projects/reiser4/files/reiser4-utils/
(***) https://marc.info/?l=reiserfs-devel&m=158086248927420&w=2

Thanks,
Edward.

#6 lore raw
In reply to Linus Torvalds
Quoted 6 lines · On Wed, 5 Aug 2020 12:51:41 -0700 Linus Torvalds…
Quoted 4 lines · On Wed, Aug 5, 2020 at 9:53 AM <[email protected]> wrote:

It's been over 1 week since I sent this into the reiserfs-devel mailing list. I'm escalating this as the kernel docs recommend. I'm still willing to help debug and test a fix for this problem.

Quoted 9 lines

The thing is, you're using an ancient 4.14 kernel, and a filesystem that isn't really maintained any more. You'll find very few people interested in trying to debug that combination.

You *might* have more luck with a more modern kernel, but even then ... reiserfs?

Linus

This bug appears to have been fixed some where between 4.14.X and the 5.17.X series. I don't know why the fix wasn't backported, but it doesn't really matter to me as I can run the newer kernel.

Thanks everyone for your help.
David

#7 lore raw

PATCH reiser4 support for Linux 5.8.10

I'm a kernel dev newbie. Please double check my work if in doubt.

The patch for reiser4 support for Linux 5.8.1 didn't apply to 5.8.10. It needed only a one line change, but because of all the fuzzy matching and offset matching I thought I'd make a new one.
The file that failed to patch is fs/fs-writeback.c. A struct got one of it's members removed. As the entire struct was removed by the patch I thought it good to ignore the missing member instead of trying to dig up what it was used for and why it was removed.

Thanks,
David

#8 lore raw

Re: PATCH reiser4 support for Linux 5.8.10

Quoted 7 lines · David Niklas

I'm a kernel dev newbie. Please double check my work if in doubt.

The patch for reiser4 support for Linux 5.8.1 didn't apply to 5.8.10. It needed only a one line change, but because of all the fuzzy matching and offset matching I thought I'd make a new one.
The file that failed to patch is fs/fs-writeback.c. A struct got one of it's members removed. As the entire struct was removed by the patch

Hi David,

Precisely speaking, it is not removed, but moved to a header file.

Anyway, I guess that the missing member wasn't used by reiser4, so feel free to ignore it.

Thanks,
Edward.

I

Quoted 6 lines

thought it good to ignore the missing member instead of trying to dig up what it was used for and why it was removed.

Thanks,
David

#9 lore raw

Re: PATCH reiser4 support for Linux 5.8.10

Quoted 13 lines · On Thu, 24 Sep 2020 20:34:19 +0200 [email protected] wrote:
Quoted 7 lines · David Niklas

I'm a kernel dev newbie. Please double check my work if in doubt.

The patch for reiser4 support for Linux 5.8.1 didn't apply to 5.8.10. It needed only a one line change, but because of all the fuzzy matching and offset matching I thought I'd make a new one. The file that failed to patch is fs/fs-writeback.c. A struct got one of it's members removed. As the entire struct was removed by the patch

Hi David,

Precisely speaking, it is not removed, but moved to a header file.

Quoted 15 lines

Anyway, I guess that the missing member wasn't used by reiser4, so feel free to ignore it.

Thanks,
Edward.

I

Quoted 6 lines

thought it good to ignore the missing member instead of trying to dig up what it was used for and why it was removed.

Thanks,
David

Duh! I wanted to send you guys the patch so you could place it on sourceforge.
Here it is.

Thanks for clarifying,
David