On Thu, Dec 13, 2012 at 9:40 AM, Lukas Hejtmanek <xhejtman@xxxxxxxxx> wrote: > On Thu, Dec 13, 2012 at 09:38:04AM -0500, Fred Isaman wrote: >> It is turned off here: >> >> static void nfs4_validate_mount_flags(struct nfs_parsed_mount_data *args) >> { >> args->flags &= ~(NFS_MOUNT_NONLM|NFS_MOUNT_NOACL|NFS_MOUNT_VER3| >> NFS_MOUNT_LOCAL_FLOCK|NFS_MOUNT_LOCAL_FCNTL); >> } > > ok, thanks. Is there any reason for this? I need to turn of locks for NFSv4 as > they seem to not work properly with NFS server on CXFS. > > -- > Lukáš Hejtmánek The idea is that delegations are a better way to decide whether the client should cache locks. Fred -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html