os/bluestore: drop inline_dirty from struct ExtentMap #11377

Merged
merged 6 commits into from Oct 10, 2016

Projects

None yet

2 participants

@xiexingguo
Contributor

We don't need this member as we can simply clear inline_bl
to mark it as dirty.

Signed-off-by: xie xingguo xie.xingguo@zte.com.cn

xiexingguo added some commits Oct 8, 2016
@xiexingguo xiexingguo os/bluestore: drop inline_dirty from struct ExtentMap
We don't need this member as we can simply clear inline_bl
to mark it as dirty.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
14158a9
@xiexingguo xiexingguo os/bluestore: kill dead lines to keep code clean
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9d8f444
@xiexingguo xiexingguo os/bluestore: add counter to trace number of garbage collection reads
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
70de098
@xiexingguo xiexingguo os/bluestore: fix raw blob encoded size
The maximum length of fixed fields of bluestore_blob_t shall be:

uint64_t sbid                       ///< 8 bytes
uint32_t compressed_length_orig     ///< 4 bytes
uint32_t compressed_length          ///< 4 bytes
uint32_t flags                      ///< 4 bytes
uint8_t csum_type                   ///< 1 byte
uint8_t csum_chunk_order            ///< 1 byte
unused_t unused;                    ///< 2 bytes

8 + 4 + 4 + 4 + 1 + 1 + 2 = 24

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9ebdab9
@xiexingguo xiexingguo added the bluestore label Oct 9, 2016
@liewegas liewegas was assigned by xiexingguo Oct 9, 2016
xiexingguo added some commits Oct 10, 2016
@xiexingguo xiexingguo os/bluestore: get rid of multiple call to dirty_blob()
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
262f2c4
@xiexingguo xiexingguo os/bluestore: narrow scope of 'pos'
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
096811c
@liewegas liewegas merged commit e416cca into ceph:master Oct 10, 2016

1 of 2 checks passed

default Build finished.
Details
Signed-off-by all commits in this PR are signed
Details
@xiexingguo xiexingguo deleted the xiexingguo:xxg-wip-bluestore-1008 branch Oct 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment