Project

General

Profile

Actions

Feature #1214

closed

qa: flock/fnctl lock tests

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

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

0%

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

Related issues 1 (0 open1 closed)

Precedes Ceph - Bug #1150: kclient: ERESTARTSYS from flock/fcntl locksDuplicate06/22/201106/22/2011

Actions
Actions #1

Updated by Sage Weil almost 13 years ago

  • Translation missing: en.field_position set to 708
Actions #2

Updated by Sage Weil almost 13 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
Actions #3

Updated by Greg Farnum almost 13 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.

Actions #4

Updated by Greg Farnum almost 13 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.

Actions #5

Updated by Greg Farnum almost 13 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!

Actions #6

Updated by Greg Farnum almost 13 years ago

  • Status changed from In Progress to Resolved
Actions #7

Updated by Sage Weil almost 13 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.

Actions #8

Updated by Greg Farnum almost 13 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.

Actions #9

Updated by Greg Farnum almost 13 years ago

  • Status changed from In Progress to Resolved

The extra bits will be tracked in #1314

Actions

Also available in: Atom PDF