Whamcloud - gitweb
LU-13030 pcc: Init saved dataset flags properly
authorQian Yingjin <qian@ddn.com>
Wed, 4 Dec 2019 14:44:58 +0000 (22:44 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 5 Dec 2019 06:56:14 +0000 (01:56 -0500)
commita4af7575718a06169866cc11e7b6cdfa266d44e1
tree2cffdc9f8f00ebcd8d9fb2d40362705a8c025214
parent2a772797e474b7cf1849be554da06d707ed57cdd
LU-13030 pcc: Init saved dataset flags properly

When init a new inode, the saved flags is set wrongly with
PCC_DATASET_NONE which means that the file is known in NONE
of PCC dataset.
This patch corrects it with PCC_DATASET_INVALID.

Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Id775a20711cbc89979e81cbb2b0fe77dc5a850d5
Reviewed-on: https://review.whamcloud.com/36923
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/llite_lib.c
lustre/llite/pcc.c
lustre/tests/sanity-pcc.sh