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