Scroll to navigation

LEASE_GET_MTIME(9) The Linux VFS LEASE_GET_MTIME(9)

NAME

lease_get_mtime - update modified time of an inode with exclusive lease

SYNOPSIS

void lease_get_mtime(struct inode * inode, struct timespec * time);

ARGUMENTS

inode

the inode

time

pointer to a timespec which contains the last modified time

DESCRIPTION

This is to force NFS clients to flush their caches for files with exclusive leases. The justification is that if someone has an exclusive lease, then they could be modifying it.

COPYRIGHT

June 2024 Kernel Hackers Manual 3.10