Project

General

Profile

Feature #14271

directory listing: do not reset when fragmenting

Added by Greg Farnum about 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
jewel
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:

Description

Right now, if a directory gets fragmented while we're listing (ie, have a dir pointer), we reset the pointer and start from the beginning again.

There's probably some way we can be more elegant about this. Perhaps we can keep a pre-fragmented pointer/tree of pointers, and only list the contents of each frag which follow that?


Related issues

Copied to CephFS - Backport #16284: jewel: directory listing: do not reset when fragmenting Resolved

History

#1 Updated by Greg Farnum about 8 years ago

Once completed, update the DirLs test to check order again. Probably just by reverting e20ef4b27869d8eaf1989c2f057c2d8264f6118b

#2 Updated by Greg Farnum almost 8 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Zheng Yan

#3 Updated by Greg Farnum almost 8 years ago

  • Category changed from 47 to Correctness/Safety

#4 Updated by John Spray almost 8 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to jewel

#5 Updated by Nathan Cutler almost 8 years ago

  • Copied to Backport #16284: jewel: directory listing: do not reset when fragmenting added

#6 Updated by Greg Farnum almost 8 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF