[CRIU] Error (proc_parse.c:1716): Unknown file lock: 31: OFDLCK ADVISORY

Pavel Emelyanov xemul at parallels.com
Tue Jul 14 06:35:03 PDT 2015


On 07/14/2015 04:11 PM, Adrian Reber wrote:
> With today's git checkout (and also criu 1.6) I get
> 
> Error (proc_parse.c:1716): Unknown file lock: 31: OFDLCK ADVISORY  WRITE 2239 fd:02:9447627 0 0
> 
> OFDLCK seems to have been introduced with 3.15
> 
> https://git.kernel.org/linus/0d3f7a2dd2f5cf9642982515e020c1aee2cf7af6
> 
> My kernel version: Fedora 4.0.6-300.fc22.x86_64

Yes, we don't have support for this type of locks. In order not to break the dump
when some other (not being dumped) processes use them, we introduced the per-pid
locks info in the kernel with the 6c8c90319 commit in 4.1.
in 4.1.

-- Pavel



More information about the CRIU mailing list