Date: Mon, 29 Jul 2019 01:00:42 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r350398 - projects/nfsv42/sys/fs/nfs Message-ID: <201907290100.x6T10gxA099097@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rmacklem Date: Mon Jul 29 01:00:41 2019 New Revision: 350398 URL: https://svnweb.freebsd.org/changeset/base/350398 Log: Fix IO Advise, Layout error and Layout stats to not do vn_start_write(). The configuration of nfsv4_opflag had the "do vn_start_write()" flag erroneously set. Fixed by this patch. Modified: projects/nfsv42/sys/fs/nfs/nfs_commonsubs.c Modified: projects/nfsv42/sys/fs/nfs/nfs_commonsubs.c ============================================================================== --- projects/nfsv42/sys/fs/nfs/nfs_commonsubs.c Sun Jul 28 22:00:45 2019 (r350397) +++ projects/nfsv42/sys/fs/nfs/nfs_commonsubs.c Mon Jul 29 01:00:41 2019 (r350398) @@ -171,9 +171,9 @@ struct nfsv4_opflag nfsv4_opflag[NFSV42_NOPS] = { { 2, 1, 1, 0, LK_SHARED, 1, 0 }, /* Copy */ { 0, 0, 0, 0, LK_EXCLUSIVE, 1, 1 }, /* Copy Notify */ { 0, 0, 0, 0, LK_EXCLUSIVE, 1, 1 }, /* Deallocate */ - { 0, 1, 0, 1, LK_SHARED, 1, 0 }, /* IO Advise */ - { 0, 1, 0, 1, LK_EXCLUSIVE, 1, 0 }, /* Layout Error */ - { 0, 1, 0, 1, LK_EXCLUSIVE, 1, 0 }, /* Layout Stats */ + { 0, 1, 0, 0, LK_SHARED, 1, 0 }, /* IO Advise */ + { 0, 1, 0, 0, LK_EXCLUSIVE, 1, 0 }, /* Layout Error */ + { 0, 1, 0, 0, LK_EXCLUSIVE, 1, 0 }, /* Layout Stats */ { 0, 0, 0, 0, LK_EXCLUSIVE, 1, 1 }, /* Offload Cancel */ { 0, 0, 0, 0, LK_EXCLUSIVE, 1, 1 }, /* Offload Status */ { 0, 0, 0, 0, LK_EXCLUSIVE, 1, 1 }, /* Read Plus */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907290100.x6T10gxA099097>