Project

General

Profile

Actions

Bug #24028

closed

CephFS flock() on a directory is broken

Added by Марк Коренберг about 6 years ago. Updated over 5 years ago.

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

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
kceph
Labels (FS):
task(intern)
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Accroding to man page, flock() semantics must work also on directory. Actually it works with, say, Ext4. It does not work with CephFS.

Luminous 12.2.5, Debian 9 (kernel mount)

I'm setting "major" since irreversible data loss may occur on user's data due to this bug.

Actions

Also available in: Atom PDF