Skip to content

Fix example/fix-notify_inval_inode.c - #908

Merged
bsbernd merged 1 commit into
libfuse:masterfrom
bsbernd:fix-notify_store_retrieve
Mar 20, 2024
Merged

bsbernd merged 1 commit into
libfuse:masterfrom
bsbernd:fix-notify_store_retrieve

Conversation

@bsbernd

@bsbernd bsbernd commented Mar 20, 2024

Copy link
Copy Markdown
Collaborator

Similar issue as fix in commit
3c7ba57 "examples/notify_store_retrieve: Add a clean shutdown". Basically a clean shutdown was missing, but even with clean shutdown it does not work, as kernel side releases inodes before sending FUSE_DESTROY - the intervaled thread then gets -ENOENT.

@bsbernd
bsbernd force-pushed the fix-notify_store_retrieve branch from 54d9aef to 3872706 Compare March 20, 2024 13:55
Similar issue as fixed in commit
3c7ba57 "examples/notify_store_retrieve: Add a clean shutdown".
Basically a clean shutdown was missing, but even with clean
shutdown it does not work, as kernel side releases inodes before
sending FUSE_DESTROY - the intervaled thread then gets
-ENOENT.
@bsbernd
bsbernd force-pushed the fix-notify_store_retrieve branch from 3872706 to 631c934 Compare March 20, 2024 14:00
@bsbernd
bsbernd merged commit 9a823df into libfuse:master Mar 20, 2024
bsbernd added a commit to bsbernd/libfuse that referenced this pull request Mar 29, 2024
* master: (24 commits)
  Add support for FUSE_CAP_HANDLE_KILLPRIV_V2
  Fix FUSE_CAP_DIRECT_IO_ALLOW_MMAP - use new numerical value
  Install all test/build python packages from requirements.txt
  fix readdirplus when filler is called with zero offset (libfuse#896)
  reset got_init after handling FUSE_DESTROY message (libfuse#910)
  ci-build.sh: Fix checking for function arguments (libfuse#909)
  Add FUSE_FILL_DIR_DEFAULTS enum (libfuse#903)
  Fix example/fix-notify_inval_inode.c (libfuse#908)
  Bump actions/checkout from 4.1.1 to 4.1.2 (libfuse#905)
  Add final "meson setup --reconfigure" to README.md
  /test_ctests / test_notify1: Print cmdline on failure
  Add glibc backtrace to signal handler
  ci-build.sh: Add back test without versioned symbols
  Build clang/sanitized build first
  Fix use-after-free in example/poll.c
  Add back s-bit for compiled fusermount
  Fix test failures: Create missing mount dir
  ci-build.sh: Reduce pytest --maxfail from 99 to 1
  ci-build.sh: Always install and add s-bit for fusermount3
  ci-build.sh: Run ASAN and UBSAN at the same time
  ...
bsbernd added a commit to bsbernd/libfuse that referenced this pull request Feb 20, 2025
* remotes/upstream/master:
  Fix example/fix-notify_inval_inode.c (libfuse#908)
  Bump actions/checkout from 4.1.1 to 4.1.2 (libfuse#905)
  Add final "meson setup --reconfigure" to README.md
  /test_ctests / test_notify1: Print cmdline on failure
  Add glibc backtrace to signal handler
  ci-build.sh: Add back test without versioned symbols
  Build clang/sanitized build first
  Fix use-after-free in example/poll.c
  Add back s-bit for compiled fusermount
  Fix test failures: Create missing mount dir
  ci-build.sh: Reduce pytest --maxfail from 99 to 1

Conflicts:
	.github/workflows/pr-ci.yml
@bsbernd
bsbernd deleted the fix-notify_store_retrieve branch April 24, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant