9016 Default timeout for NFSv4 ephemeral mounts is wrong

Review Request #849 - Created Feb. 8, 2018 and submitted

Information
Marcel Telka
illumos-gate
master
9016
9c17d7b...
Reviewers
general
This fixes the default timeout for NFSv4 ephemeral mounts to be set to
nfs4_trigger_mount_to, instead of nfs4_trigger_thread_timer.
Without the fix:

# modinfo | grep nfs
# modload /kernel/fs/amd64/nfs
# KEY=$(mdb -ke 'nfs4_ephemeral_key::print')
# PTR=$(mdb -ke "::zsd $KEY" | tail -n1 | awk '{print $3}')
# mdb -ke "$PTR::print nfs4_trigger_globals_t ntg_mount_to"
ntg_mount_to = 0x14
#

With the fix:

# modinfo | grep nfs
# modload /kernel/fs/amd64/nfs
# KEY=$(mdb -ke 'nfs4_ephemeral_key::print')
# PTR=$(mdb -ke "::zsd $KEY" | tail -n1 | awk '{print $3}')
# mdb -ke "$PTR::print nfs4_trigger_globals_t ntg_mount_to"
ntg_mount_to = 0xf0
#
Yuri Pankov
Marcel Telka
Review request changed

Status: Closed (submitted)

Change Summary:

commit cb5401f44dd4e0e363bea3d5a660aa98d3538220
Author:     Marcel Telka <marcel@telka.sk>
AuthorDate: Fri Feb 2 15:30:47 2018 +0100
Commit:     Richard Lowe <richlowe@richlowe.net>
CommitDate: Wed Feb 14 19:02:54 2018 +0000

    9016 Default timeout for NFSv4 ephemeral mounts is wrong
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

:100644 100644 de0d81dba4... 83c84b7892... M	usr/src/uts/common/fs/nfs/nfs4_stub_vnops.c
Loading...