Re: [RFC] Toy journaling skeleton for ext2fs

2025-07-01 Thread Milos Nikic
Hi, Thanks again for the earlier feedback — I’ve applied the style corrections and, since then, have rewritten the system a few times from the ground up. The current version uses an asynchronous producer-consumer model with a ring-buffer queue and a dedicated flusher thread. (it also synchounosly

Re: [PATCH hurd] Support dynamic linkage of librump

2025-07-01 Thread Damien Zammit
On 7/2/25 7:54 AM, Samuel Thibault wrote: > Possibly the interrupt and the driver thread are stupidly competing for > the spinlock. > We could try compiling rump with RUMP_LOCKS_UP and keep the setting RUMP_NCPU=1. We also need to figure out why running with RUMP_NCPU=2 fails to open random init.

Re: [RFC] Toy journaling skeleton for ext2fs

2025-07-01 Thread Samuel Thibault
Hello, Milos Nikic, le jeu. 26 juin 2025 23:40:22 -0700, a ecrit: > diff --git a/ext2fs/inode.c b/ext2fs/inode.c > index dc309ac8..a3560630 100644 > --- a/ext2fs/inode.c > +++ b/ext2fs/inode.c > /* these flags aren't actually defined by a header file yet, so temporarily > disable them if nece

Re: [PATCH hurd] Support dynamic linkage of librump

2025-07-01 Thread Samuel Thibault
Samuel Thibault, le mar. 01 juil. 2025 23:45:05 +0200, a ecrit: > Samuel Thibault, le mar. 01 juil. 2025 23:26:38 +0200, a ecrit: > > I guess it's working on BSD only by luck because mutex_init() is mostly > > no-op... I'll add a patch for this which seems to work for me > > It's *very* slow, thou

Re: [PATCH hurd] Support dynamic linkage of librump

2025-07-01 Thread Samuel Thibault
Samuel Thibault, le mar. 01 juil. 2025 23:26:38 +0200, a ecrit: > I guess it's working on BSD only by luck because mutex_init() is mostly > no-op... I'll add a patch for this which seems to work for me It's *very* slow, though... # dd < /dev/ud0 > /dev/null bs=64K count=10 10+0 records in 10+0 re

Re: [PATCH hurd] Support dynamic linkage of librump

2025-07-01 Thread Samuel Thibault
Samuel Thibault, le mar. 01 juil. 2025 22:20:52 +0200, a ecrit: > Samuel Thibault, le mar. 01 juil. 2025 22:09:27 +0200, a ecrit: > > Samuel Thibault, le mar. 01 juil. 2025 21:32:23 +0200, a ecrit: > > > Damien Zammit, le mar. 01 juil. 2025 14:16:27 +, a ecrit: > > > > This provides a functiona

Re: [PATCH hurd] Support dynamic linkage of librump

2025-07-01 Thread Samuel Thibault
Samuel Thibault, le mar. 01 juil. 2025 22:09:27 +0200, a ecrit: > Samuel Thibault, le mar. 01 juil. 2025 21:32:23 +0200, a ecrit: > > Damien Zammit, le mar. 01 juil. 2025 14:16:27 +, a ecrit: > > > This provides a functional rumpdisk and rumpusbdisk > > > with or without static linkage of libru

Re: [PATCH hurd] Support dynamic linkage of librump

2025-07-01 Thread Samuel Thibault
Samuel Thibault, le mar. 01 juil. 2025 21:32:23 +0200, a ecrit: > Damien Zammit, le mar. 01 juil. 2025 14:16:27 +, a ecrit: > > This provides a functional rumpdisk and rumpusbdisk > > with or without static linkage of librump. > > Great :) applied, thanks! > > > TESTED: > > - opens usb stic

Re: [PATCH hurd] Support dynamic linkage of librump

2025-07-01 Thread Samuel Thibault
Damien Zammit, le mar. 01 juil. 2025 14:16:27 +, a ecrit: > This provides a functional rumpdisk and rumpusbdisk > with or without static linkage of librump. Great :) applied, thanks! > TESTED: > - opens usb stick with both dynamic and static rumpusbdisk. I'm still getting issues with rumpu

[PATCH hurd] Support dynamic linkage of librump

2025-07-01 Thread Damien Zammit
This provides a functional rumpdisk and rumpusbdisk with or without static linkage of librump. TESTED: - opens usb stick with both dynamic and static rumpusbdisk. - boots off ahci with static rumpdisk --- Makeconf | 4 ++-- rumpdisk/Makefile | 18 +- 2 files changed