Whamcloud - gitweb
EX-3133 pcc: keep PCC copy when it is being attached
authorQian Yingjin <qian@ddn.com>
Tue, 11 May 2021 03:38:36 +0000 (11:38 +0800)
committerLi Xi <lixi@ddn.com>
Fri, 14 May 2021 08:12:48 +0000 (08:12 +0000)
commitb29a657ffa35001138ec3674e7e3fa2acd802680
tree3127989cd265968acbd9283a57cb7d89b17d64ed
parent46280061d0aaf7158ce3a61482ecc25f93e1df10
EX-3133 pcc: keep PCC copy when it is being attached

When detach a file from PCC backend via FID, if the file is being
attached, it should not purge the coresponding PCC copy from the
PCC backend. Just keep the PCC copy to finish the attach process.

Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: I8a8f7c6986d51eaf9b2516e5dd5a6f21aa38b7db
Reviewed-on: https://review.whamcloud.com/43637
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/llite/pcc.c
lustre/utils/liblustreapi_pcc.c