[PATCH 00/21] Tiny bug fixes and fr1st p0s+!!!

Valerie Aurora val at versity.com
Wed Feb 12 10:19:14 PST 2025


FYI I accidentally hoovered up some old versions of patches in the git
send-email; ignore the ones that are NN/22.

Val

On Tue, Feb 11, 2025 at 10:20 PM Valerie Aurora <val at versity.com> wrote:
>
> Hi all,
>
> Here are a bunch of tiny bug fixes I found while writing and testing
> renaming 10000 files. :) Many of them are related to unmounting the
> file system, which is why one of the first patches adds the quit
> command to debugfs so that you can test those fixes. Most of these
> patches are independent, so feel free to pull the ones you like and
> send the rest back for more work.
>
> Thanks,
>
> Val
>
> Auke Kok (1):
>   Add <assert.h> to shared/thread.c
>
> Valerie Aurora (18):
>   Require sparse to build and stop egrep warnings
>   Minimal changes to debugfs necessary to exit
>   Add quit command to ngnfs-cli
>   Clear work->bits when initializing work
>   Call thread_finish_main() after ngnfs_unmount() in debugfs
>   Only exit workqueue after processing the shutdown work
>   Wake peer send thread during socket_destroy
>   Fix connect() error return
>   Remove redundant thread_stop_indicate() before thread_stop_wait()
>   Remove unnecessary init_block() using uninitialized stack variable
>   Fix free/alloc reversal of btree block merge condition
>   Fix hang in ngnfs_block_sync() if nothing is dirty
>   Add sync before unmount in debugfs unmount command
>   Add sync command to debugfs
>   Fix atomic_inc_unless_negative()
>   Use correct base for mode for debugfs create command
>   Fix logic for starting flush work
>   Make root directory of file system have nlink of 2
>
> Zach Brown (2):
>   Fix return value of cmp_ihdr_off()
>   Use memmove instead of memset to move btree items
>
>  cli/debugfs.c         | 34 ++++++++++++++++++++++++++++++----
>  scripts/sparse.sh     | 12 ++++++++----
>  shared/block.c        | 33 +++++++++++++++++++++++++++------
>  shared/btree.c        | 13 +++++++------
>  shared/lk/atomic.h    | 12 +++++++-----
>  shared/lk/workqueue.c |  3 +--
>  shared/lk/workqueue.h |  1 +
>  shared/mkfs.c         |  2 +-
>  shared/mtr-socket.c   |  5 ++++-
>  shared/thread.c       |  4 ++++
>  10 files changed, 90 insertions(+), 29 deletions(-)
>
> --
> 2.48.1
>



More information about the ngnfs-devel mailing list