]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds/CDir: make the data length as long as possible for each op 38364/head
authorXiubo Li <xiubli@redhat.com>
Tue, 1 Dec 2020 04:28:37 +0000 (12:28 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 1 Dec 2020 04:36:34 +0000 (12:36 +0800)
commit503b7bd995ae8254610b720db170525a12c4df9c
tree8d0b3ea2bbf5dfd9d3a1fe92fcf1719653d858b5
parent4d09ebce0d9c1d3fd910d422f6d772b4793158c4
mds/CDir: make the data length as long as possible for each op

The max_write_size is 10M as default, and every time when the len
of the op data exceed it with a very small size it will be split
into two ops, one of which will always be very small.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mds/CDir.cc