Project

General

Profile

Feature #1214

qa: flock/fnctl lock tests

Added by Sage Weil almost 13 years ago. Updated over 12 years ago.

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

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Related issues

Precedes Ceph - Bug #1150: kclient: ERESTARTSYS from flock/fcntl locks Duplicate 06/22/2011 06/22/2011

History

#1 Updated by Sage Weil over 12 years ago

  • translation missing: en.field_position set to 708

#2 Updated by Sage Weil over 12 years ago

  • translation missing: en.field_story_points set to 5
  • translation missing: en.field_position deleted (714)
  • translation missing: en.field_position set to 714

#3 Updated by Greg Farnum over 12 years ago

  • Status changed from New to In Progress
  • Assignee set to Greg Farnum

I'll do this since I wrote most of the code, and the xfstests changes I made when writing it might be useful here.

#4 Updated by Greg Farnum over 12 years ago

Have initial commit of locktest task in teuthology. Still remaining: figuring out how to expand it to test stuff like wait locking, which the current code is just not architected for.

#5 Updated by Greg Farnum over 12 years ago

Okay, having looked into my previous modifications, they just needed a bit of clean up. I gave them some, and wrote a couple more tests for wait locking. It appears to work now!

#6 Updated by Greg Farnum over 12 years ago

  • Status changed from In Progress to Resolved

#7 Updated by Sage Weil over 12 years ago

Does this include something like:

A: start process to take lock
B: start process to try to take lock, block
B: kill waiting process
A: release lock (kill process)
B: start new process to take lock
-> verify it succeeds.

This was the bug scale was seeing a couple weeks back.

#8 Updated by Greg Farnum over 12 years ago

  • Status changed from Resolved to In Progress

Not right now -- I guess I can whip up an executable and a teuthology task for it.

#9 Updated by Greg Farnum over 12 years ago

  • Status changed from In Progress to Resolved

The extra bits will be tracked in #1314

Also available in: Atom PDF