diff options
author | mav <mav@FreeBSD.org> | 2011-11-02 09:24:59 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2011-11-02 09:24:59 +0000 |
commit | f082fe73d70d16586ae66b249d305286c171352d (patch) | |
tree | 233b99f647ece49be8d734adc4f5363bd233b9b9 /contrib/diff/lib | |
parent | e799577150fdcc39ca2271625bcbf034a547340b (diff) | |
download | FreeBSD-src-f082fe73d70d16586ae66b249d305286c171352d.zip FreeBSD-src-f082fe73d70d16586ae66b249d305286c171352d.tar.gz |
Add mutex and two flags to make orphan() call properly asynchronous:
- delay consumer closing and detaching on orphan() until all I/Os complete;
- prevent new I/Os submission after orphan() called.
Previous implementation could destroy consumers still having active
requests and worked only because of global workaround made on GEOM level.
Diffstat (limited to 'contrib/diff/lib')
0 files changed, 0 insertions, 0 deletions