Project

General

Profile

Actions

Feature #7333

open

client: evaluate multiple O_APPEND writers

Added by Sage Weil about 10 years ago. Updated about 4 years ago.

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

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Client, kceph
Labels (FS):
task(intern)
Pull request ID:

Description

This needs done for kclient and libcephfs. Extending the size of the file is potentially racy with updates to inode's i_size.

Do clients do atomic extend writes (writes which fail if it would overwrite)? Is there a RADOS op for this? That might simplify handling the race condition: i_size may be inconsistent (eventually consistent) across clients but multiple appenders would not race.

Actions

Also available in: Atom PDF