]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ceph: update the 'approaching max_size' code
authorYan, Zheng <zyan@redhat.com>
Mon, 22 May 2017 04:03:32 +0000 (12:03 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 7 Jul 2017 15:25:12 +0000 (17:25 +0200)
commitefb0ca765ac6f4985b57ef215e8d55e746b083f4
tree8333c6ae9ed47a7134c0163d07670970d1eff4b4
parent84eea8c79090c44564877cd47c73455e32ec4846
ceph: update the 'approaching max_size' code

The old 'approaching max_size' code expects MDS set max_size to
'2 * 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>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c
fs/ceph/caps.c
fs/ceph/file.c
fs/ceph/inode.c
fs/ceph/super.h