diff options
author | Dongsheng Yang <dongsheng.yang@easystack.cn> | 2018-12-18 04:31:48 -0500 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-01-07 22:47:48 +0100 |
commit | 02b2f549d502b46e68b97ea1452fb8853b3327dd (patch) | |
tree | 415c1a23112a0edc7ec00813f64cb65a9ebec5fd /include/linux/ceph/osd_client.h | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) | |
download | linux-stable-02b2f549d502b46e68b97ea1452fb8853b3327dd.tar.gz linux-stable-02b2f549d502b46e68b97ea1452fb8853b3327dd.tar.bz2 linux-stable-02b2f549d502b46e68b97ea1452fb8853b3327dd.zip |
libceph: allow setting abort_on_full for rbd
Introduce a new option abort_on_full, default to false. Then
we can get -ENOSPC when the pool is full, or reaches quota.
[ Don't show abort_on_full in /proc/mounts. ]
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include/linux/ceph/osd_client.h')
-rw-r--r-- | include/linux/ceph/osd_client.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h index 7a2af5034278..2294f963dab7 100644 --- a/include/linux/ceph/osd_client.h +++ b/include/linux/ceph/osd_client.h @@ -354,7 +354,6 @@ struct ceph_osd_client { struct rb_root linger_map_checks; atomic_t num_requests; atomic_t num_homeless; - bool abort_on_full; /* abort w/ ENOSPC when full */ int abort_err; struct delayed_work timeout_work; struct delayed_work osds_timeout_work; |