Project

General

Profile

Actions

Bug #1460

closed

mds: file locks don't work right with 0-length locks

Added by Greg Farnum over 12 years ago. Updated over 7 years ago.

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

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Right now it just doesn't handle them properly. See, eg get_overlapping_locks and get_last_before.

Actions #1

Updated by Greg Farnum over 12 years ago

  • Status changed from New to In Progress

Oh, I pushed this patch yesterday since it seems to be working. But I'm leaving this bug open until I can clean up the locking code a little, and get a test case for it.

Actions #2

Updated by Greg Farnum over 12 years ago

  • Status changed from In Progress to Resolved

I updated locktest.c; it now fails before my fix and succeeds afterwards. Hurray!
(Also the task that runs it now actually does run it, and I added it to ceph-qa-suite.)

Actions #3

Updated by John Spray over 7 years ago

  • Project changed from Ceph to CephFS
  • Category deleted (1)
  • Target version deleted (v0.35)

Bulk updating project=ceph category=mds bugs so that I can remove the MDS category from the Ceph project to avoid confusion.

Actions

Also available in: Atom PDF