Re: [Qemu-devel] [PATCH RFC 1/1] block: Handle NULL options correctly in raw_open

2017-03-19 Thread Dong Jia Shi
* Dong Jia Shi [2017-03-14 11:23:12 +0800]: > * Kevin Wolf [2017-03-13 11:15:22 +0100]: > > > Am 13.03.2017 um 04:31 hat Dong Jia Shi geschrieben: > > > * Dong Jia Shi [2017-03-08 17:31:05 +0800]: > > > > > > > * Kevin Wolf [2017-03-08 10:13:46 +0100]: > > > > > > > > > Am 08.03.2017 um 03:

Re: [Qemu-devel] [PATCH RFC 1/1] block: Handle NULL options correctly in raw_open

2017-03-13 Thread Dong Jia Shi
* Kevin Wolf [2017-03-13 11:15:22 +0100]: > Am 13.03.2017 um 04:31 hat Dong Jia Shi geschrieben: > > * Dong Jia Shi [2017-03-08 17:31:05 +0800]: > > > > > * Kevin Wolf [2017-03-08 10:13:46 +0100]: > > > > > > > Am 08.03.2017 um 03:15 hat Dong Jia Shi geschrieben: > > > > > A normal call for r

Re: [Qemu-devel] [PATCH RFC 1/1] block: Handle NULL options correctly in raw_open

2017-03-13 Thread Kevin Wolf
Am 13.03.2017 um 04:31 hat Dong Jia Shi geschrieben: > * Dong Jia Shi [2017-03-08 17:31:05 +0800]: > > > * Kevin Wolf [2017-03-08 10:13:46 +0100]: > > > > > Am 08.03.2017 um 03:15 hat Dong Jia Shi geschrieben: > > > > A normal call for raw_open should always pass in a non-NULL @options, > > > >

Re: [Qemu-devel] [PATCH RFC 1/1] block: Handle NULL options correctly in raw_open

2017-03-12 Thread Dong Jia Shi
* Dong Jia Shi [2017-03-08 17:31:05 +0800]: > * Kevin Wolf [2017-03-08 10:13:46 +0100]: > > > Am 08.03.2017 um 03:15 hat Dong Jia Shi geschrieben: > > > A normal call for raw_open should always pass in a non-NULL @options, > > > but for some certain cases (e.g. trying to applying snapshot on a

Re: [Qemu-devel] [PATCH RFC 1/1] block: Handle NULL options correctly in raw_open

2017-03-08 Thread Dong Jia Shi
* Kevin Wolf [2017-03-08 10:13:46 +0100]: > Am 08.03.2017 um 03:15 hat Dong Jia Shi geschrieben: > > A normal call for raw_open should always pass in a non-NULL @options, > > but for some certain cases (e.g. trying to applying snapshot on a RBD > > image), they call raw_open with a NULL @options

Re: [Qemu-devel] [PATCH RFC 1/1] block: Handle NULL options correctly in raw_open

2017-03-08 Thread Kevin Wolf
Am 08.03.2017 um 03:15 hat Dong Jia Shi geschrieben: > A normal call for raw_open should always pass in a non-NULL @options, > but for some certain cases (e.g. trying to applying snapshot on a RBD > image), they call raw_open with a NULL @options right after the calling > for raw_close. > > Let's

[Qemu-devel] [PATCH RFC 1/1] block: Handle NULL options correctly in raw_open

2017-03-07 Thread Dong Jia Shi
A normal call for raw_open should always pass in a non-NULL @options, but for some certain cases (e.g. trying to applying snapshot on a RBD image), they call raw_open with a NULL @options right after the calling for raw_close. Let's take the NULL @options as a sign of trying to do raw_open again,