Commit d4e2d49
committed
bluestore: Fix _setattr() with rare memory alignments
Fix an issue in BlueStore_setattr whereby if a buffer was contiguous and non-partial, then bluestore could completely drop the attribute.
setattr seems to be rarely used outside of new EC. In new EC it is only
used on non-primary shards, so this was only ever seen if the non-primary
happened to be on the same OSD as the primary - this is transient and rare
that scrubbing would actually catche the issue.
Fixes: https://tracker.ceph.com/issues/71623
Signed-off-by: Alex Ainscow <[email protected]>1 parent 3c9defa commit d4e2d49
1 file changed
+7
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18039 | 18039 | | |
18040 | 18040 | | |
18041 | 18041 | | |
| 18042 | + | |
| 18043 | + | |
18042 | 18044 | | |
18043 | 18045 | | |
18044 | 18046 | | |
| |||
18049 | 18051 | | |
18050 | 18052 | | |
18051 | 18053 | | |
18052 | | - | |
18053 | | - | |
18054 | | - | |
18055 | | - | |
18056 | | - | |
18057 | | - | |
18058 | | - | |
18059 | | - | |
| 18054 | + | |
| 18055 | + | |
18060 | 18056 | | |
18061 | | - | |
18062 | | - | |
18063 | 18057 | | |
| 18058 | + | |
| 18059 | + | |
| 18060 | + | |
18064 | 18061 | | |
18065 | 18062 | | |
18066 | 18063 | | |
| |||
0 commit comments