]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: make 'nocopyfrom' a default mount option
authorLuis Henriques <lhenriques@suse.com>
Mon, 10 Dec 2018 10:23:12 +0000 (10:23 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 11 Dec 2018 17:22:17 +0000 (18:22 +0100)
commit271580e4bdc22304336968e46118801740c4bf0e
tree46e8a2a21554cd2c26e8e098f5622f84d9d8f0ab
parent040365dedd26c4b11dfe5f61c260f498a9da8912
ceph: make 'nocopyfrom' a default mount option

Since we found a problem with the 'copy-from' operation after objects have
been truncated, offloading object copies to OSDs should be discouraged
until the issue is fixed.

Thus, this patch adds the 'nocopyfrom' mount option to the default mount
options which effectily means that remote copies won't be done in
copy_file_range unless they are explicitly enabled at mount time.

[ Adjust ceph_show_options() accordingly. ]

Link: https://tracker.ceph.com/issues/37378
Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/super.c
fs/ceph/super.h