Signed-off-by: weixinwei <xinweiwei90@gmail.com>
(cherry picked from commit
64ce414b022b96b7a5c73d2c03393a877b30e508)
Conflicts:
src/blk/BlockDevice.cc
- file does not exist in Nautilus; made the changes manually in
src/os/bluestore/BlockDevice.cc
// that to the bytes value.
uint64_t ios = 0;
#if defined(HAVE_LIBAIO) || defined(HAVE_POSIXAIO)
- for (auto& p : pending_aios) {
- ios += p.iov.size();
- }
+ ios += pending_aios.size();
#endif
#ifdef HAVE_SPDK
ios += total_nseg;