]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: update the 'approaching max_size' code 15131/head
authorYan, Zheng <zyan@redhat.com>
Fri, 19 May 2017 01:37:15 +0000 (09:37 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 22 May 2017 08:46:02 +0000 (16:46 +0800)
commit9316b0442c6f828dcf8da952e4c7a63c4db1398d
tree18ba98af2ead1d406610397cb5c1683c248f65cf
parent538f35bef944b18e9bca2b15ed7f4e8807ef0554
client: update the 'approaching max_size' code

The old 'approaching max_size' code expects MDS set max_size to
'2 x reported_size'. This is no longer true. The new code reports
file size when half of previous max_size increment has been used.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/client/Client.cc