Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
void _flush_bdev(); // this is safe to call without a lock
void _flush_bdev(std::array<bool, MAX_BDEV>& dirty_bdevs); // this is safe to call without a lock
- int _preallocate(FileRef f, uint64_t off, uint64_t len);
- int _truncate(FileWriter *h, uint64_t off);
-
int64_t _read(
FileReader *h, ///< [in] read from here
uint64_t offset, ///< [in] offset
void decode_omap_key(const std::string& key, std::string *user_key);
void finish_write(TransContext* txc, uint32_t offset, uint32_t length);
-
-private:
- void _decode(const ceph::buffer::list& v);
};
/// A generic Cache Shard