Whamcloud - gitweb
EX-3825 pcc: no error to detach missing file
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 6 Oct 2021 08:19:10 +0000 (02:19 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 10 Oct 2021 22:02:21 +0000 (22:02 +0000)
commitcd02cb1d66d5d37e6600ce5a7d7188e3db9ae9f6
treedc9ee1c4c9fad46247330dd208cecb09ec30ffa0
parentfd97eef32b75f47e7189a9ea333db42973ebdf3b
EX-3825 pcc: no error to detach missing file

Do not print an error message if "lfs pcc detach" tries to detach
a file that is already removed from the cache.  This might happen
for a wide variety of reasons (external cache cleanup process, etc).

Test-Parameters: trivial testlist=sanity-pcc
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Iad07b4bbab809bd356ed06c9f5cfcc35fa3ebbe5
Reviewed-on: https://review.whamcloud.com/45132
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Feng, Lei <flei@whamcloud.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
lustre/llite/pcc.c
lustre/utils/lfs.c