Whamcloud - gitweb
LU-9484 llite: eat -EEXIST on setting trunsted.lov 26/27126/7
authorBobi Jam <bobijam.xu@intel.com>
Tue, 16 May 2017 12:37:20 +0000 (20:37 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 10 Jun 2017 02:48:38 +0000 (02:48 +0000)
Tools like rsync, tar, cp may copy and restore the xattrs on a file.
The client previously ignored the setting of trusted.lov/lustre.lov
if the layout had already been specified, to avoid causing these
tools to fail for no reason.

For PFL files we still need to silently eat -EEXIST on setting these
attributes to avoid problems.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: Ic6d359c0f3557d4a21e950a53f57e38ae97a40da
Reviewed-on: https://review.whamcloud.com/27126
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>

No differences found