]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/filestore/FileJournal: bail out if transaction is too large 10753/head
authorKefu Chai <kchai@redhat.com>
Fri, 19 Aug 2016 06:50:38 +0000 (14:50 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 19 Aug 2016 07:09:57 +0000 (15:09 +0800)
commita7623818dbebb9130fa7eaa13804cd85aaa134f3
treec9d94594ed97ff3160d4843f06e43cfaa41ea19f
parentd71ccde4a3334a5497e4b230775da1e2f06f35bb
os/filestore/FileJournal: bail out if transaction is too large

if a transaction is too large to fit in the FileJournal's ring buffer,
we will wait. but if its size is larger than the max_size, it's likely
due to a bug or an invalid setting. in that case, we'd better fail
earlier.

Fixes: http://tracker.ceph.com/issues/16982
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/filestore/FileJournal.cc