[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH for-2.7 v2 00/17] block: Lock images when openin
From: |
Fam Zheng |
Subject: |
Re: [Qemu-block] [PATCH for-2.7 v2 00/17] block: Lock images when opening |
Date: |
Tue, 19 Apr 2016 20:40:48 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Mon, 04/18 10:53, Daniel P. Berrange wrote:
> If you want todo locks inside of QEMU, you really can't rely
> on delegating handling to each individual block driver instance.
> You need to have a process global registry of which files you have
> already locked, and check against that registry before even
> attempting to open any file that might correspond to a disk image.
> This registry needs to canonicalize the file path too, to allow
> for possibility of QEMU being given differen paths to the same
> file.
Yes, you're completely right. Thank you for bringing up it again and so
clearly. I'll revise the code.
Fam
- Re: [Qemu-block] [PATCH for-2.7 v2 11/17] qemu-nbd: Add "--no-lock/-L" option, (continued)
- [Qemu-block] [PATCH for-2.7 v2 12/17] qemu-iotests: 140: Disable image lock for qemu-io access, Fam Zheng, 2016/04/14
- [Qemu-block] [PATCH for-2.7 v2 13/17] qemu-iotests: 046: Move version detection out from verify_io, Fam Zheng, 2016/04/14
- [Qemu-block] [PATCH for-2.7 v2 15/17] qemu-iotests: Disable image lock when checking test image, Fam Zheng, 2016/04/14
- [Qemu-block] [PATCH for-2.7 v2 14/17] qemu-iotests: Wait for QEMU processes before checking image in 091, Fam Zheng, 2016/04/14
- [Qemu-block] [PATCH for-2.7 v2 16/17] block: Turn on image locking by default, Fam Zheng, 2016/04/14
- [Qemu-block] [PATCH for-2.7 v2 17/17] qemu-iotests: Add test case 152 for image locking, Fam Zheng, 2016/04/14
- Re: [Qemu-block] [PATCH for-2.7 v2 00/17] block: Lock images when opening, Denis V. Lunev, 2016/04/16
- Re: [Qemu-block] [PATCH for-2.7 v2 00/17] block: Lock images when opening, Daniel P. Berrange, 2016/04/18
- Re: [Qemu-block] [PATCH for-2.7 v2 00/17] block: Lock images when opening,
Fam Zheng <=