From: Samuel Just Date: Fri, 27 Aug 2021 02:10:26 +0000 (-0700) Subject: crimson/tools/store_nbd/fs_driver: collid should be the msb X-Git-Tag: v17.1.0~990^2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e9ec8283f328764d052df38fb3ff38106c8cf956;p=ceph-ci.git crimson/tools/store_nbd/fs_driver: collid should be the msb This way, objects in a collection will sort together. Probably a typo. Signed-off-by: Samuel Just --- diff --git a/src/crimson/tools/store_nbd/fs_driver.cc b/src/crimson/tools/store_nbd/fs_driver.cc index 24f954ea9c0..f720ac0eb1c 100644 --- a/src/crimson/tools/store_nbd/fs_driver.cc +++ b/src/crimson/tools/store_nbd/fs_driver.cc @@ -22,7 +22,7 @@ FSDriver::offset_mapping_t FSDriver::map_offset(off_t offset) ghobject_t( shard_id_t::NO_SHARD, 0, - (objid << 16) | collid, + (collid << 16) | objid, "", "", 0,