]> git.baikalelectronics.ru Git - 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)
commit8cfd8ab8388309bae27434ae1ad3824a2060297d
tree8333c6ae9ed47a7134c0163d07670970d1eff4b4
parent20d2cf866c984afe165ac27b8d8a5daf4603cb89
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