Add sys_fallocate

This commit is contained in:
Shaowei Song
2024-06-28 10:45:16 +00:00
committed by Tate, Hongliang Tian
parent 8dc08dccba
commit 8dce83605f
18 changed files with 349 additions and 18 deletions

View File

@ -220,7 +220,7 @@ fn general_complete_fn(bio: &SubmittedBio) {
match bio.status() {
BioStatus::Complete => (),
err_status => log::error!(
"faild to do {:?} on the device with error status: {:?}",
"failed to do {:?} on the device with error status: {:?}",
bio.type_(),
err_status
),

View File

@ -12,7 +12,7 @@
//! and merge requests within the queue.
//!
//! This crate also offers the `Bio` related data structures and APIs to accomplish
//! safe and convenient block I/O operations, for exmaple:
//! safe and convenient block I/O operations, for example:
//!
//! ```no_run
//! // Creates a bio request.