Re: [PATCH hurd x2] - Rebased

2021-03-08 Thread Samuel Thibault
Samuel Thibault, le lun. 08 mars 2021 22:35:21 +0100, a ecrit: > Samuel Thibault, le lun. 08 mars 2021 20:51:51 +0100, a ecrit: > > Damien Zammit, le lun. 08 mars 2021 13:15:05 +1100, a ecrit: > > > [PATCH 1/2] pci-arbiter: Fix brokenness > > > > > > This patch does not include mustbedir option be

Re: [PATCH hurd x2] - Rebased

2021-03-08 Thread Samuel Thibault
Samuel Thibault, le lun. 08 mars 2021 20:51:51 +0100, a ecrit: > Damien Zammit, le lun. 08 mars 2021 13:15:05 +1100, a ecrit: > > [PATCH 1/2] pci-arbiter: Fix brokenness > > > > This patch does not include mustbedir option because I believe there > > is already logic that detects if it is looking

Re: [PATCH 4/4] rumpdisk: Don't pretend to be the arbiter anymore

2021-03-08 Thread Samuel Thibault
Damien Zammit, le mar. 09 mars 2021 00:04:57 +1100, a ecrit: > @@ -164,6 +165,15 @@ rumpdisk_device_init (void) > return; > } > } > + > + /* FIXME: need to synchronise with arbiter to wait for fsys_startup */ > + sleep(1); Such hacks tend to break :) > + task_get_bootstrap_p

Re: [PATCH hurd x2] - Rebased

2021-03-08 Thread Samuel Thibault
Damien Zammit, le lun. 08 mars 2021 13:15:05 +1100, a ecrit: > [PATCH 1/2] pci-arbiter: Fix brokenness > > This patch does not include mustbedir option because I believe there > is already logic that detects if it is looking up a directory, > by checking the entry->dir != 0. No, there seems to be

Re: [PATCH hurd x4] - Working arbiter + rumpdisk OFF TOPIC PRAISE

2021-03-08 Thread Joshua Branson
Damien Zammit writes: > Hi all, > > This series introduces a working disk driver > with no more ugly netfs hacks. AWESOME! Thanks for working so diligently on this! And thanks for Samuel for his timely code edits/suggestions. :) > > Cheers, > Damien > -- Joshua Branson (joshuaBPMan in #guix

[PATCH 1/4] acpi: Fix brokenness

2021-03-08 Thread Damien Zammit
--- acpi/netfs_impl.c | 39 ++- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/acpi/netfs_impl.c b/acpi/netfs_impl.c index 84f52c89..b6cb466d 100644 --- a/acpi/netfs_impl.c +++ b/acpi/netfs_impl.c @@ -58,25 +58,22 @@ get_dirents (struct acpifs_d

[PATCH 2/4] pci-arbiter: Fix brokenness

2021-03-08 Thread Damien Zammit
--- pci-arbiter/netfs_impl.c | 39 ++- pci-arbiter/pci-ops.c| 2 +- 2 files changed, 27 insertions(+), 14 deletions(-) diff --git a/pci-arbiter/netfs_impl.c b/pci-arbiter/netfs_impl.c index b987a0bc..2748c382 100644 --- a/pci-arbiter/netfs_impl.c +++ b/pci

[PATCH hurd x4] - Working arbiter + rumpdisk

2021-03-08 Thread Damien Zammit
Hi all, This series introduces a working disk driver with no more ugly netfs hacks. Cheers, Damien

[PATCH 4/4] rumpdisk: Don't pretend to be the arbiter anymore

2021-03-08 Thread Damien Zammit
--- rumpdisk/block-rump.c | 16 +--- rumpdisk/main.c | 5 - 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/rumpdisk/block-rump.c b/rumpdisk/block-rump.c index 9c6fa10c..a61f7b80 100644 --- a/rumpdisk/block-rump.c +++ b/rumpdisk/block-rump.c @@ -27,6 +27,7 @@

[PATCH 3/4] pci-arbiter: Introduce machdev into this server

2021-03-08 Thread Damien Zammit
* pci-arbiter/Makefile Add machdev lib and simplify * pci-arbiter/main.c (pci_device_{open,close,shutdown}): New methods (netfs_server_func): Thread the demuxer loop (pcifs_startup): Custom startup method (main): Use machdev for server and detach worker threads * pci-arbiter/options.{c,h} Add disk-

Re: [PATCH] acpi: Fix brokenness

2021-03-08 Thread Samuel Thibault
Damien Zammit, le lun. 08 mars 2021 16:05:48 +1100, a ecrit: > + if (max_data_len) > { > + size = > +((count * DIRENTS_CHUNK_SIZE) > max_data_len) ? > +max_data_len : count * DIRENTS_CHUNK_SIZE; > } > - > - size = > -(count * DIRENTS_CHUNK_SIZE) > > -max_dat