lofi: rework for file unmapping
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.
Updated by Electric Monk about 4 years ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit b4844717b0519d67e223515aa4fae127fba8fcac Author: Toomas Soome <email@example.com> Date: 2016-11-08T18:44:52.000Z 7476 lofi: rework for file unmapping Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>