commit | 9ec7779f89d4dde9fe1e23d68abaefda54b35de7 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Aug 02 08:27:41 2012 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Aug 02 08:27:41 2012 +0200 |
tree | 1e57dd84d05333814bdb12fbb4df7edb6e3cb7b8 | |
parent | 99614958d743d0fdea9b1875d3a41a5a51e9769d [diff] |
diskutil: ensure that we lock around disk_list access And also ensure that before we free the disk util structures, we wait for the disk util thread to exit. This is v2 of the patch. Commit feb41855 had a bug where it would deadlock on the disk_util_mutex, when handling drives that had slaves (lvm/md). Signed-off-by: Jens Axboe <axboe@kernel.dk>