Project

General

Profile

Bug #40196

rgw_file: fix invalidation of top-level directories

Added by Matt Benjamin 3 months ago. Updated 3 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Target version:
-
Start date:
06/06/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Originally, root_fh was reachable from RGWLibFS::fh_cache, but
this was problematic as it has infinite lifetime and so is not
present in RGWLibFS::fs_lru.

To fix the above, RGWLibFS::root_fh came to live unhooked from the
handle caches which works because nfs-ganesha/the application
always has an instance handle. However, this silently breaks
READDIR event invalidation.


Related issues

Copied to rgw - Backport #40214: luminous: rgw_file: fix invalidation of top-level directories New
Copied to rgw - Backport #40215: mimic: rgw_file: fix invalidation of top-level directories In Progress
Copied to rgw - Backport #40216: nautilus: rgw_file: fix invalidation of top-level directories Resolved

History

#1 Updated by Matt Benjamin 3 months ago

  • Pull request ID set to 28440

#2 Updated by Matt Benjamin 3 months ago

  • Status changed from In Progress to Need Review

#3 Updated by Matt Benjamin 3 months ago

  • Status changed from Need Review to Pending Backport
  • Backport set to nautilus, mimic, luminous

#4 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #40214: luminous: rgw_file: fix invalidation of top-level directories added

#5 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #40215: mimic: rgw_file: fix invalidation of top-level directories added

#6 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #40216: nautilus: rgw_file: fix invalidation of top-level directories added

Also available in: Atom PDF