[CRIU] [PATCH RFC 0/2] Get rid of statfs system calls
Stanislav Kinsburskiy
skinsbursky at virtuozzo.com
Wed Feb 24 02:54:45 PST 2016
NFS client migration development revealed, that each statfs call send requests
to server side, when the network has been locked already.
Statfs system call is used only for one purpose: get file system type of the
mount, file belongs to, while all the rest fields are ignored.
The idea if this series is simple and stright-forward: do not call statfs for
NFS, but return NFS_SUPER_MAGIC value, stored on fstype object of mountinfo in
"fs_magic" field.
Looks like this approach can be used for any file system instead of using
statfs() system call.
More information about the CRIU
mailing list