Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
requests will fail with -EOPNOTSUPP, write zeroes requests will fall back to
manually zeroing.
+* abort_on_full - Fail write requests with -ENOSPC when the cluster is full or
+ the data pool reaches its quota (since 5.0). The default behaviour is to
+ block until the full condition is cleared.
+
`rbd device unmap` options:
* force - Force the unmapping of a block device that is open (since 4.9). The
put_map_option("exclusive", this_char);
} else if (!strcmp(this_char, "notrim")) {
put_map_option("notrim", this_char);
+ } else if (!strcmp(this_char, "abort_on_full")) {
+ put_map_option("abort_on_full", this_char);
} else {
std::cerr << "rbd: unknown map option '" << this_char << "'" << std::endl;
return -EINVAL;