]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: properly convert frag_t to net/store endianness
authorPatrick Donnelly <pdonnell@ibm.com>
Tue, 11 Nov 2025 15:15:03 +0000 (10:15 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Sat, 6 Dec 2025 00:57:55 +0000 (19:57 -0500)
commit8b9320f27156c2a4ae68d66caac78a7387af7ed9
tree1fd109120be222db09306d7657a81888177914db
parent46c3b2170e1b598fb3a36a4a05608df965a41b68
common: properly convert frag_t to net/store endianness

The MDS/client are already accidentally doing the right thing unless
they are running on a big-endian machine.

Credit to Venky Shankar for originally hypothesizing an endianness issue
with the frag_t.

Fixes: https://tracker.ceph.com/issues/73792
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit 9e3837c837bc9f76805f998dd06fe386dce35722)
src/common/frag.cc