Project

General

Profile

Bug #11043

lofiadm -la still fails after 10215

Added by Toomas Soome 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2019-05-16
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

This is a bit odd; it is still possible we can get non-labeled lofi entry from device name cache, so we need to check the name and keep waiting if the name type is wrong (till we hit timeout).

Increase the timeout from 30 to 120 (because lofiadm is waiting for devfsadm symlinks for 120s), and add cv_broadcast to notify about device removal.

Testing done: did loop lofiadm -a, -d -la -d sequence 100 times, observed with dtrace that indeed, we sometimes do get /dev/rlofi entries, but lofiadm did not error out any more.


Related issues

Related to illumos gate - Bug #11072: Deadlock in lofi after 11043Closed2019-05-28

Actions

History

#1

Updated by Electric Monk 5 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 9a1bf7f04367a515abcd994451b0991d73dc3148

commit  9a1bf7f04367a515abcd994451b0991d73dc3148
Author: Toomas Soome <tsoome@me.com>
Date:   2019-05-22T15:18:50.000Z

    11043 lofiadm -la still fails after 10215
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: Alexander Pyhalov <apyhalov@gmail.com>
    Reviewed by: Andy Fiddaman <af@citrus-it.net>
    Approved by: Gordon Ross <gwr@nexenta.com>

#2

Updated by Andy Fiddaman 5 months ago

  • Related to Bug #11072: Deadlock in lofi after 11043 added

Also available in: Atom PDF