Project

General

Profile

Bug #7476

lofi: rework for file unmapping

Added by Toomas Soome over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2016-10-17
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

There are few issues with unmapping file (lofiadm -d), first the unmapping is too optimistic about releasing the file and this can cause panic when already released memory is updated. Also lofi should block the lofi_open() when unmapping is in progress.

Reworked code has received quite some beating by illumos-stc test toolkit, and it seems the rough edges are finally getting more round.

https://www.illumos.org/rb/r/238/

History

#1

Updated by Electric Monk over 3 years ago

  • % Done changed from 90 to 100
  • Status changed from New to Closed

git commit b4844717b0519d67e223515aa4fae127fba8fcac

commit  b4844717b0519d67e223515aa4fae127fba8fcac
Author: Toomas Soome <tsoome@me.com>
Date:   2016-11-08T18:44:52.000Z

    7476 lofi: rework for file unmapping
    Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF