]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: prepare_transaction - fix EDQUOT vs ENOSPC 17808/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 20 Sep 2017 00:49:42 +0000 (08:49 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 20 Sep 2017 00:49:42 +0000 (08:49 +0800)
commitb60d3498e2f8c26f4df209af6c984cb50c5a6850
tree4548d34614696abba7e658b004e0a62b6f5b4451
parent311373a12a1ee0751a5b6dc038ff3537f6e13e73
osd/PrimaryLogPG: prepare_transaction - fix EDQUOT vs ENOSPC

We now set full flag if a pool is currently running out of space and
set both full and full_no_quota flags if it is running out of quota.
Therefore the full_no_quota flag should be instead used to uniquely
identify whether we are running out of quota or not.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
qa/workunits/rados/test_rados_tool.sh
src/mon/OSDMonitor.cc
src/osd/OSDMap.cc
src/osd/PrimaryLogPG.cc
src/osd/osd_types.h