namespace crimson::os::seastore::nvme_device {
-open_ertr::future<> NormalNBD::open(
+open_ertr::future<> PosixNVMeDevice::open(
const std::string &in_path,
seastar::open_flags mode) {
return seastar::do_with(in_path, [this, mode](auto& in_path) {
});
}
-write_ertr::future<> NormalNBD::write(
+write_ertr::future<> PosixNVMeDevice::write(
uint64_t offset,
bufferptr &bptr,
uint16_t stream) {
});
}
-read_ertr::future<> NormalNBD::read(
+read_ertr::future<> PosixNVMeDevice::read(
uint64_t offset,
bufferptr &bptr) {
logger().debug(
});
}
-seastar::future<> NormalNBD::close() {
+seastar::future<> PosixNVMeDevice::close() {
logger().debug(" close ");
return device.close();
}
/*
* Implementation of NVMeBlockDevice with POSIX APIs
*
- * NormalNBD provides NVMe SSD interfaces through POSIX APIs which is generally
+ * PosixNVMeDevice provides NVMe SSD interfaces through POSIX APIs which is generally
* available at most operating environment.
*/
-class NormalNBD : public NVMeBlockDevice {
+class PosixNVMeDevice : public NVMeBlockDevice {
public:
- NormalNBD() {}
- ~NormalNBD() = default;
+ PosixNVMeDevice() {}
+ ~PosixNVMeDevice() = default;
open_ertr::future<> open(
const std::string &in_path,