Re: [RFC][PATCH 1/5] create fs flag to mark c/r supported fs's

From: Dave Hansen
Date: Thu Feb 19 2009 - 13:23:55 EST


BTW, after you apply this and turn on the config option, you do get a
ton of warnings at runtime.

qemu:~# cat /proc/*/fdinfo/* | grep check | sort | uniq -c | sort -n
1 checkpointable: 0(proc does not support checkpoint)
6 checkpointable: 0(pipefs does not support checkpoint)
8 checkpointable: 0(devpts does not support checkpoint)
9 checkpointable: 0(sockfs does not support checkpoint)
17 checkpointable: 0(special file)
17 checkpointable: 1

The special files are /dev/{null,console,xconsole}. The next step
should probably be to address simple special files like /dev/null. I
think I'll do that with a new f_op. Any thoughts?

-- Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/