Home
last modified time | relevance | path

Searched hist:ea4cdc548e5e74a529cdd1aea885d74b4aa8f1b3 (Results 1 – 2 of 2) sorted by relevance

/linux/fs/ceph/
H A Dsuper.cdiff ea4cdc548e5e74a529cdd1aea885d74b4aa8f1b3 Mon Oct 15 17:46:00 CEST 2018 Luis Henriques <lhenriques@suse.com> ceph: new mount option to disable usage of copy-from op

Add a new mount option 'nocopyfrom' that will prevent the usage of the
RADOS 'copy-from' operation in cephfs. This could be useful, for example,
for an administrator to temporarily mitigate any possible bugs in the
'copy-from' implementation.

Currently, only copy_file_range uses this RADOS operation. Setting this
mount option will result in this syscall reverting to the default VFS
implementation, i.e. to perform the copies locally instead of doing remote
object copies.

Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
H A Dsuper.hdiff ea4cdc548e5e74a529cdd1aea885d74b4aa8f1b3 Mon Oct 15 17:46:00 CEST 2018 Luis Henriques <lhenriques@suse.com> ceph: new mount option to disable usage of copy-from op

Add a new mount option 'nocopyfrom' that will prevent the usage of the
RADOS 'copy-from' operation in cephfs. This could be useful, for example,
for an administrator to temporarily mitigate any possible bugs in the
'copy-from' implementation.

Currently, only copy_file_range uses this RADOS operation. Setting this
mount option will result in this syscall reverting to the default VFS
implementation, i.e. to perform the copies locally instead of doing remote
object copies.

Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>