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>
Showing
- fs/ceph/super.c 2 additions, 2 deletionsfs/ceph/super.c
- include/linux/ceph/libceph.h 4 additions, 2 deletionsinclude/linux/ceph/libceph.h
- include/linux/ceph/osd_client.h 0 additions, 1 deletioninclude/linux/ceph/osd_client.h
- net/ceph/ceph_common.c 10 additions, 1 deletionnet/ceph/ceph_common.c
- net/ceph/debugfs.c 1 addition, 1 deletionnet/ceph/debugfs.c
- net/ceph/osd_client.c 2 additions, 2 deletionsnet/ceph/osd_client.c
Loading
Please register or sign in to comment