[CRIU] [PATCH 6/7] inotify: Use ghost files if the watchee is a deleted file
Pavel Emelyanov
xemul at parallels.com
Mon Dec 3 15:31:09 EST 2012
On 12/04/2012 12:26 AM, Cyrill Gorcunov wrote:
> On Tue, Dec 04, 2012 at 12:17:47AM +0400, Pavel Emelyanov wrote:
>>>
>>> Because fdinfo provides kernel's device while in ghost files we do use
>>> one obtained from stat call, so I needed to make a conversion here.
>>>
>>
>> That's restore time, both numbers came from image files.
>
> We save device encoded with in-kernel format for inotify and with
> stat format for ghost files. And I would like to save it in this
> way simply because we alreasy use in-kernel format for open_mount call
> as well.
Let's put device in one format all over in the images. All the more so
it's this set that adds one for ghost files.
> Cyrill
> .
>
More information about the CRIU
mailing list