Project

General

Profile

Actions

Bug #21219

closed

the file-truncating will not be allowed when the previous truncating on the same file is in process

Added by shaojwa shaojwa over 6 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

when testing the case which doing the truncate-then-write loop to a file,
I found the file-truncating will not be allowed when the previous truncating is in process.

the "is_truncating" function returns true when the object-truncating has not finished,
which causes the caller to add a waiter to re-dispatch the request after the previous truncating finished.

so there will be a delay between truncating and writing, especially when the OSDs are busy.

I wonder if there will be a new feature to allow multi-truncating on the same file ? or any ideas can help me to walk around? thanks

Actions #1

Updated by Nathan Cutler over 6 years ago

  • Tracker changed from Tasks to Bug
  • Project changed from Stable releases to Ceph
  • Regression set to No
  • Severity set to 3 - minor
Actions #2

Updated by Sage Weil almost 3 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF