On Tue, May 8, 2018 at 8:13 AM, Dongsheng Yang <dongsheng.yang@xxxxxxxxxxxx> wrote: > To be more specific, the ENOSPC was introduced by > a9d6ceb838755c24dde8a0ca02c3378926fc63db. > > Please check: > > https://github.com/torvalds/linux/commit/a9d6ceb838755c24dde8a0ca02c3378926fc63db This commit added an error string for -ENOSPC, so that "critical space allocation error" is printed instead of "I/O error". It didn't change anything about generic error code propagation. > > Or, maybe we can keep the default behavior of blocking IO, but add a rbd > option like abort_on_full to > return ENOSPC in the case we really don't want any IO blocking in our > program. What is your use case? Are you using raw block devices with pool quotas enabled? Thanks, Ilya -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html