Compare commits
1 Commits
3b9c970e00
...
c5d8b27c44
Author | SHA1 | Date |
---|---|---|
Vitaliy Filippov | c5d8b27c44 |
|
@ -369,8 +369,6 @@ std::vector<osd_chain_read_t> osd_t::collect_chained_read_requests(osd_op_t *cur
|
||||||
global_bitmap[cur>>3] = global_bitmap[cur>>3] | (part_bitmap[cur>>3] & (1 << (cur&7)));
|
global_bitmap[cur>>3] = global_bitmap[cur>>3] | (part_bitmap[cur>>3] & (1 << (cur&7)));
|
||||||
}
|
}
|
||||||
// Add request
|
// Add request
|
||||||
if (cur_op->req.rw.len)
|
|
||||||
{
|
|
||||||
chain_reads.push_back((osd_chain_read_t){
|
chain_reads.push_back((osd_chain_read_t){
|
||||||
.chain_pos = chain_pos,
|
.chain_pos = chain_pos,
|
||||||
.inode = op_data->read_chain[chain_pos],
|
.inode = op_data->read_chain[chain_pos],
|
||||||
|
@ -379,7 +377,6 @@ std::vector<osd_chain_read_t> osd_t::collect_chained_read_requests(osd_op_t *cur
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return chain_reads;
|
return chain_reads;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue