summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-common.c
diff options
context:
space:
mode:
authorKinglong Mee <mijinlong@open-fs.com>2019-02-26 15:20:33 +0800
committerPoornima G <pgurusid@redhat.com>2019-06-19 09:13:03 +0000
commitb99f6eba2e4d53ba8220034d9b8a4530681ec77e (patch)
tree3937445033b472ba60efd3eb715b4b6886635933 /xlators/cluster/afr/src/afr-common.c
parentc9097077922647b61570f087d16103f1c7aced99 (diff)
md-cache: only update generation for inode at upcall and NULL stat
1. For parallel writes from nfs-ganesha, two fops with two generations, but the fops reply maybe returned disordered. 2. The inode md-cache timeout should not increase conf->generation. With this patch, 1, Fop only gets generation from inode md-cache or conf, does not increase it. 2. The generation is increased at upcall invalidate, estal/enoent error invalidate, reply with zeroed out stat from write-behind. Change-Id: I897ecaa143fd18bc024c1948c7d1a6f831fd53da Updates: bz#1683594 Signed-off-by: Kinglong Mee <mijinlong@open-fs.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-common.c')
0 files changed, 0 insertions, 0 deletions