Skip to content

Redfs ubuntu atomic open based on compound requests#153

Open
hbirth wants to merge 4 commits into
DDNStorage:redfs-ubuntu-noble-6.8.0-58.60from
hbirth:redfs-ubuntu-noble-atomic-open
Open

Redfs ubuntu atomic open based on compound requests#153
hbirth wants to merge 4 commits into
DDNStorage:redfs-ubuntu-noble-6.8.0-58.60from
hbirth:redfs-ubuntu-noble-atomic-open

Conversation

@hbirth
Copy link
Copy Markdown
Collaborator

@hbirth hbirth commented May 25, 2026

No description provided.

@hbirth hbirth requested a review from bsbernd May 25, 2026 07:00
hbirth added 4 commits May 25, 2026 09:02
Bound payload copies by the slot's actual size and validate the result
header's op count against the request.

This method of calling compounds is private for redfs.

Signed-off-by: Horst Birthelmer <hbirthelmer@ddn.com>
Some servers signal "unsupported" as -EOPNOTSUPP rather than -ENOSYS;
treat both the same and clear the feature flag.

EOPNOTSUPP will only disable that specific call.

Signed-off-by: Horst Birthelmer <hbirthelmer@ddn.com>
Mirror fuse_lookup_init by moving the CREATE args/inarg setup into a
helper. No functional change; prepares for reuse from compound paths.

Signed-off-by: Horst Birthelmer <hbirthelmer@ddn.com>
Collapse the lookup-then-create round trips in fuse_atomic_open() into
a single FUSE_COMPOUND. Gated by fc->compound_lookup_create; falls back
to the separate-op path on -ENOSYS/-EOPNOTSUPP.

Signed-off-by: Horst Birthelmer <hbirthelmer@ddn.com>
@hbirth hbirth force-pushed the redfs-ubuntu-noble-atomic-open branch from e6dd663 to 306548d Compare May 25, 2026 07:07
@hbirth hbirth requested a review from yongzech May 25, 2026 07:10
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