Client: Check CAS writes for multiple stripes after slicing them #175

Merged
vitalif merged 1 commits from koolkhel/vitastor:cas-multi-stripe into master 2026-11-25 20:33:56 +03:00

1 Commits

Author SHA1 Message Date
839fcdadcc Client: Check CAS writes for multiple stripes after slicing them
3bc5a186 ("Execute a forced sync before CAS if inode range has dirty data")
moved the "atomic writes to multiple stripes are unsupported" check above
slice_rw(). op->parts is still empty there, so the check never fires: a
CAS write or delete that crosses a stripe boundary sends only its first
part and reports success with the length of that part, while the rest of
the range stays unchanged.

Do the check after slice_rw() again, as before 3bc5a186.
2026-11-24 14:15:07 +03:00