]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/bluefs_types: make block_mask 64-bit 21740/head
authorSage Weil <sage@redhat.com>
Tue, 24 Apr 2018 22:11:15 +0000 (17:11 -0500)
committerPrashant D <pdhange@redhat.com>
Mon, 30 Apr 2018 12:32:41 +0000 (08:32 -0400)
commitffe2166b92f814eb5d21938b18860d20b7997dff
treea70b183ffb003ac57c4234c12234596576fac659
parentc2b01766288ba1f22d910a25f532a13a89df91be
os/bluestore/bluefs_types: make block_mask 64-bit

Since block_size is 32 bits, we return 0x00000000fffff000 (or similar).
This breaks things if you get a file (e.g., bluefs metadata log file)
over 4GB.

Fixes: https://tracker.ceph.com/issues/23840
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 55dd28a9dee08a028c6a8db82a8be77b3af88e44)
src/os/bluestore/bluefs_types.h