pastebin - collaborative debugging tool
rovema.kpaste.net RSS


msnfs41client: Patches for kernel header update, CygwinInstallInstructions, winsg, disablegetattrafterclosehacks+misc, 2024-06-03
Posted by Anonymous on Mon 3rd Jun 2024 17:29
raw | new post

  1. From d3ef0b00c21fd271bb1d26959256b235f732de4f Mon Sep 17 00:00:00 2001
  2. From: Dan Shelton <dan.f.shelton@gmail.com>
  3. Date: Mon, 3 Jun 2024 15:59:53 +0200
  4. Subject: [PATCH 1/4] daemon: Sync from_kernel.h+debug with ReactOS+Win10
  5.  headers
  6.  
  7. Sync from_kernel.h+debug with ReactOS+Win10 headers
  8.  
  9. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  10. ---
  11. daemon/daemon_debug.c |  25 +++++++
  12.  daemon/from_kernel.h  | 157 ++++++++++++++++++++++++++----------------
  13.  2 files changed, 122 insertions(+), 60 deletions(-)
  14.  
  15. diff --git a/daemon/daemon_debug.c b/daemon/daemon_debug.c
  16. index d0d3e0a..df9620a 100644
  17. --- a/daemon/daemon_debug.c
  18. +++ b/daemon/daemon_debug.c
  19. @@ -713,6 +713,31 @@ const char *FILE_INFORMATION_CLASS2string(int fic)
  20.          FIC_TO_STRLITERAL(FileNormalizedNameInformation)
  21.          FIC_TO_STRLITERAL(FileNetworkPhysicalNameInformation)
  22.          FIC_TO_STRLITERAL(FileIdGlobalTxDirectoryInformation)
  23. +        FIC_TO_STRLITERAL(FileIsRemoteDeviceInformation)
  24. +        FIC_TO_STRLITERAL(FileUnusedInformation)
  25. +        FIC_TO_STRLITERAL(FileNumaNodeInformation)
  26. +        FIC_TO_STRLITERAL(FileStandardLinkInformation)
  27. +        FIC_TO_STRLITERAL(FileRemoteProtocolInformation)
  28. +        FIC_TO_STRLITERAL(FileRenameInformationBypassAccessCheck)
  29. +        FIC_TO_STRLITERAL(FileLinkInformationBypassAccessCheck)
  30. +        FIC_TO_STRLITERAL(FileVolumeNameInformation)
  31. +        FIC_TO_STRLITERAL(FileIdInformation)
  32. +        FIC_TO_STRLITERAL(FileIdExtdDirectoryInformation)
  33. +        FIC_TO_STRLITERAL(FileReplaceCompletionInformation)
  34. +        FIC_TO_STRLITERAL(FileHardLinkFullIdInformation)
  35. +        FIC_TO_STRLITERAL(FileIdExtdBothDirectoryInformation)
  36. +        FIC_TO_STRLITERAL(FileDispositionInformationEx)
  37. +        FIC_TO_STRLITERAL(FileRenameInformationEx)
  38. +        FIC_TO_STRLITERAL(FileRenameInformationExBypassAccessCheck)
  39. +        FIC_TO_STRLITERAL(FileDesiredStorageClassInformation)
  40. +        FIC_TO_STRLITERAL(FileStatInformation)
  41. +        FIC_TO_STRLITERAL(FileMemoryPartitionInformation)
  42. +        FIC_TO_STRLITERAL(FileStatLxInformation)
  43. +        FIC_TO_STRLITERAL(FileCaseSensitiveInformation)
  44. +        FIC_TO_STRLITERAL(FileLinkInformationEx)
  45. +        FIC_TO_STRLITERAL(FileLinkInformationExBypassAccessCheck)
  46. +        FIC_TO_STRLITERAL(FileStorageReserveIdInformation)
  47. +        FIC_TO_STRLITERAL(FileCaseSensitiveInformationForceAccessCheck)
  48.      }
  49.      return "<unknown FILE_INFORMATION_CLASS>";
  50.  }
  51. diff --git a/daemon/from_kernel.h b/daemon/from_kernel.h
  52. index 221ee3b..c135dc5 100644
  53. --- a/daemon/from_kernel.h
  54. +++ b/daemon/from_kernel.h
  55. @@ -59,56 +59,82 @@
  56.  #define FILE_MAXIMUM_DISPOSITION        0x00000005
  57.  
  58.  typedef enum _FILE_INFORMATION_CLASS {
  59. -    FileDirectoryInformation         = 1,
  60. -    FileFullDirectoryInformation,   // 2
  61. -    FileBothDirectoryInformation,   // 3
  62. -    FileBasicInformation,           // 4
  63. -    FileStandardInformation,        // 5
  64. -    FileInternalInformation,        // 6
  65. -    FileEaInformation,              // 7
  66. -    FileAccessInformation,          // 8
  67. -    FileNameInformation,            // 9
  68. -    FileRenameInformation,          // 10
  69. -    FileLinkInformation,            // 11
  70. -    FileNamesInformation,           // 12
  71. -    FileDispositionInformation,     // 13
  72. -    FilePositionInformation,        // 14
  73. -    FileFullEaInformation,          // 15
  74. -    FileModeInformation,            // 16
  75. -    FileAlignmentInformation,       // 17
  76. -    FileAllInformation,             // 18
  77. -    FileAllocationInformation,      // 19
  78. -    FileEndOfFileInformation,       // 20
  79. -    FileAlternateNameInformation,   // 21
  80. -    FileStreamInformation,          // 22
  81. -    FilePipeInformation,            // 23
  82. -    FilePipeLocalInformation,       // 24
  83. -    FilePipeRemoteInformation,      // 25
  84. -    FileMailslotQueryInformation,   // 26
  85. -    FileMailslotSetInformation,     // 27
  86. -    FileCompressionInformation,     // 28
  87. -    FileObjectIdInformation,        // 29
  88. -    FileCompletionInformation,      // 30
  89. -    FileMoveClusterInformation,     // 31
  90. -    FileQuotaInformation,           // 32
  91. -    FileReparsePointInformation,    // 33
  92. -    FileNetworkOpenInformation,     // 34
  93. -    FileAttributeTagInformation,    // 35
  94. -    FileTrackingInformation,        // 36
  95. -    FileIdBothDirectoryInformation, // 37
  96. -    FileIdFullDirectoryInformation, // 38
  97. -    FileValidDataLengthInformation, // 39
  98. -    FileShortNameInformation,       // 40
  99. -    FileIoCompletionNotificationInformation, // 41
  100. -    FileIoStatusBlockRangeInformation,       // 42
  101. -    FileIoPriorityHintInformation,           // 43
  102. -    FileSfioReserveInformation,              // 44
  103. -    FileSfioVolumeInformation,               // 45
  104. -    FileHardLinkInformation,                 // 46
  105. -    FileProcessIdsUsingFileInformation,      // 47
  106. -    FileNormalizedNameInformation,           // 48
  107. -    FileNetworkPhysicalNameInformation,      // 49
  108. -    FileIdGlobalTxDirectoryInformation,      // 50
  109. +    FileDirectoryInformation                         = 1,
  110. +    FileFullDirectoryInformation,                   // 2
  111. +    FileBothDirectoryInformation,                   // 3
  112. +    FileBasicInformation,                           // 4
  113. +    FileStandardInformation,                        // 5
  114. +    FileInternalInformation,                        // 6
  115. +    FileEaInformation,                              // 7
  116. +    FileAccessInformation,                          // 8
  117. +    FileNameInformation,                            // 9
  118. +    FileRenameInformation,                          // 10
  119. +    FileLinkInformation,                            // 11
  120. +    FileNamesInformation,                           // 12
  121. +    FileDispositionInformation,                     // 13
  122. +    FilePositionInformation,                        // 14
  123. +    FileFullEaInformation,                          // 15
  124. +    FileModeInformation,                            // 16
  125. +    FileAlignmentInformation,                       // 17
  126. +    FileAllInformation,                             // 18
  127. +    FileAllocationInformation,                      // 19
  128. +    FileEndOfFileInformation,                       // 20
  129. +    FileAlternateNameInformation,                   // 21
  130. +    FileStreamInformation,                          // 22
  131. +    FilePipeInformation,                            // 23
  132. +    FilePipeLocalInformation,                       // 24
  133. +    FilePipeRemoteInformation,                      // 25
  134. +    FileMailslotQueryInformation,                   // 26
  135. +    FileMailslotSetInformation,                     // 27
  136. +    FileCompressionInformation,                     // 28
  137. +    FileObjectIdInformation,                        // 29
  138. +    FileCompletionInformation,                      // 30
  139. +    FileMoveClusterInformation,                     // 31
  140. +    FileQuotaInformation,                           // 32
  141. +    FileReparsePointInformation,                    // 33
  142. +    FileNetworkOpenInformation,                     // 34
  143. +    FileAttributeTagInformation,                    // 35
  144. +    FileTrackingInformation,                        // 36
  145. +    FileIdBothDirectoryInformation,                 // 37
  146. +    FileIdFullDirectoryInformation,                 // 38
  147. +    FileValidDataLengthInformation,                 // 39
  148. +    FileShortNameInformation,                       // 40
  149. +    FileIoCompletionNotificationInformation,        // 41
  150. +    FileIoStatusBlockRangeInformation,              // 42
  151. +    FileIoPriorityHintInformation,                  // 43
  152. +    FileSfioReserveInformation,                     // 44
  153. +    FileSfioVolumeInformation,                      // 45
  154. +    FileHardLinkInformation,                        // 46
  155. +    FileProcessIdsUsingFileInformation,             // 47
  156. +    FileNormalizedNameInformation,                  // 48
  157. +    FileNetworkPhysicalNameInformation,             // 49
  158. +    FileIdGlobalTxDirectoryInformation,             // 50
  159. +    FileIsRemoteDeviceInformation,                  // 51
  160. +    FileUnusedInformation,                          // 52
  161. +    FileNumaNodeInformation,                        // 53
  162. +    FileStandardLinkInformation,                    // 54
  163. +    FileRemoteProtocolInformation,                  // 55
  164. +    FileRenameInformationBypassAccessCheck,         // 56
  165. +    FileLinkInformationBypassAccessCheck,           // 57
  166. +    FileVolumeNameInformation,                      // 58
  167. +    FileIdInformation,                              // 59
  168. +    FileIdExtdDirectoryInformation,                 // 60
  169. +    FileReplaceCompletionInformation,               // 61
  170. +    FileHardLinkFullIdInformation,                  // 62
  171. +    FileIdExtdBothDirectoryInformation,             // 63
  172. +    FileDispositionInformationEx,                   // 64
  173. +    FileRenameInformationEx,                        // 65
  174. +    FileRenameInformationExBypassAccessCheck,       // 66
  175. +    FileDesiredStorageClassInformation,             // 67
  176. +    FileStatInformation,                            // 68
  177. +    FileMemoryPartitionInformation,                 // 69
  178. +    FileStatLxInformation,                          // 70
  179. +    FileCaseSensitiveInformation,                   // 71
  180. +    FileLinkInformationEx,                          // 72
  181. +    FileLinkInformationExBypassAccessCheck,         // 73
  182. +    FileStorageReserveIdInformation,                // 74
  183. +    FileCaseSensitiveInformationForceAccessCheck,   // 75
  184. +
  185.      FileMaximumInformation
  186.  } FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS;
  187.  
  188. @@ -218,16 +244,20 @@ typedef struct _FILE_NETWORK_OPEN_INFORMATION {
  189.  
  190.  /* wdm.h */
  191.  typedef enum _FSINFOCLASS {
  192. -    FileFsVolumeInformation       = 1,
  193. -    FileFsLabelInformation,      // 2
  194. -    FileFsSizeInformation,       // 3
  195. -    FileFsDeviceInformation,     // 4
  196. -    FileFsAttributeInformation,  // 5
  197. -    FileFsControlInformation,    // 6
  198. -    FileFsFullSizeInformation,   // 7
  199. -    FileFsObjectIdInformation,   // 8
  200. -    FileFsDriverPathInformation, // 9
  201. -    FileFsVolumeFlagsInformation,// 10
  202. +    FileFsVolumeInformation         = 1,
  203. +    FileFsLabelInformation,         // 2
  204. +    FileFsSizeInformation,          // 3
  205. +    FileFsDeviceInformation,        // 4
  206. +    FileFsAttributeInformation,     // 5
  207. +    FileFsControlInformation,       // 6
  208. +    FileFsFullSizeInformation,      // 7
  209. +    FileFsObjectIdInformation,      // 8
  210. +    FileFsDriverPathInformation,    // 9
  211. +    FileFsVolumeFlagsInformation,   // 10
  212. +    FileFsSectorSizeInformation,    // 11
  213. +    FileFsDataCopyInformation,      // 12
  214. +    FileFsMetadataSizeInformation,  // 13
  215. +    FileFsFullSizeInformationEx,    // 14
  216.      FileFsMaximumInformation
  217.  } FS_INFORMATION_CLASS, *PFS_INFORMATION_CLASS;
  218.  
  219. @@ -241,6 +271,8 @@ typedef enum _FSINFOCLASS {
  220.  #define FILE_SUPPORTS_SPARSE_FILES          0x00000040
  221.  #define FILE_SUPPORTS_REPARSE_POINTS        0x00000080
  222.  #define FILE_SUPPORTS_REMOTE_STORAGE        0x00000100
  223. +#define FILE_RETURNS_CLEANUP_RESULT_INFO    0x00000200
  224. +#define FILE_SUPPORTS_POSIX_UNLINK_RENAME   0x00000400
  225.  #define FILE_VOLUME_IS_COMPRESSED           0x00008000
  226.  #define FILE_SUPPORTS_OBJECT_IDS            0x00010000
  227.  #define FILE_SUPPORTS_ENCRYPTION            0x00020000
  228. @@ -252,6 +284,11 @@ typedef enum _FSINFOCLASS {
  229.  #define FILE_SUPPORTS_EXTENDED_ATTRIBUTES   0x00800000
  230.  #define FILE_SUPPORTS_OPEN_BY_FILE_ID       0x01000000
  231.  #define FILE_SUPPORTS_USN_JOURNAL           0x02000000
  232. +#define FILE_SUPPORTS_INTEGRITY_STREAMS     0x04000000
  233. +#define FILE_SUPPORTS_BLOCK_REFCOUNTING     0x08000000
  234. +#define FILE_SUPPORTS_SPARSE_VDL            0x10000000
  235. +#define FILE_DAX_VOLUME                     0x20000000
  236. +#define FILE_SUPPORTS_GHOSTING              0x40000000
  237.  
  238.  typedef struct _FILE_FS_ATTRIBUTE_INFORMATION {
  239.      ULONG FileSystemAttributes;
  240. --
  241. 2.45.1
  242.  
  243. From 0e63bb8cab74ce6ed94602665e9f485c4912b050 Mon Sep 17 00:00:00 2001
  244. From: Roland Mainz <roland.mainz@nrubsig.org>
  245. Date: Mon, 3 Jun 2024 16:26:28 +0200
  246. Subject: [PATCH 2/4] cygwin: Add Cygwin download+installation instructions to
  247.  README.bintarball.txt
  248.  
  249. Add Cygwin download+installation instructions to README.bintarball.txt
  250.  
  251. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  252. ---
  253. cygwin/README.bintarball.txt | 57 ++++++++++++++++++++++++++----------
  254.  1 file changed, 41 insertions(+), 16 deletions(-)
  255.  
  256. diff --git a/cygwin/README.bintarball.txt b/cygwin/README.bintarball.txt
  257. index f82f302..9865131 100644
  258. --- a/cygwin/README.bintarball.txt
  259. +++ b/cygwin/README.bintarball.txt
  260. @@ -119,9 +119,42 @@ NFSv4.1 client and filesystem driver for Windows 10/11
  261.          unzip
  262.  
  263.  #
  264. +# 4. Download and install Cygwin (if not installed yet):
  265.  #
  266. -# 4. Download:
  267. +# Windows 32bit-vs.-64bit can be tested from Windows cmd.exe console:
  268. +# Run this command:
  269. +# ---- snip ----
  270. +echo %PROCESSOR_ARCHITECTURE%
  271. +# ---- snip ----
  272. +# If this returns "AMD64" then you have a Windows 64bit kernel, and
  273. +# if it returns "x86" then you have Windows 32bit kernel.
  274. +# If you get any other value then this is a (documentation) bug.
  275. +
  276. +- Cygwin 64bit can be installed like this:
  277. +---- snip ----
  278. +# Install Cygwin 64bit on Windows 64bit with packages required by "ms-nfs41-client"
  279. +# (Windows NFSv4.1 client):
  280. +# 1. Get installer from https://cygwin.com/setup-x86_64.exe
  281. +curl --remote-name 'https://www.cygwin.com/setup-x86_64.exe'
  282. +# 2. Run installer with these arguments:
  283. +setup-x86_64.exe -q --site https://mirrors.kernel.org -P cygwin,cygwin-devel,cygrunsrv,cygutils,cygutils-extra,bash,bzip2,coreutils,getent,gdb,grep,hostname,less,libiconv,libiconv2,pax,pbzip2,procps-ng,sed,tar,time,util-linux,wget,libnfs,make,git,dos2unix,unzip
  284. +
  285. +
  286. +- Cygwin 32bit can be installed like this:
  287. +---- snip ----
  288. +# Install Cygwin 32bit on Windows 32bit with packages required by "ms-nfs41-client"
  289. +# (Windows NFSv4.1 client):
  290. +# 1. Get installer from https://www.cygwin.com/setup-x86.exe
  291. +curl --remote-name 'https://www.cygwin.com/setup-x86.exe'
  292. +# 2. Run installer with these arguments:
  293. +setup-x86.exe --allow-unsupported-windows -q --no-verify --site http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/2022/11/23/063457 -P cygwin,cygwin-devel,cygrunsrv,cygutils,cygutils-extra,bash,bzip2,coreutils,getent,gdb,grep,hostname,less,libiconv,libiconv2,pax,pbzip2,procps-ng,sed,tar,time,util-linux,wget,libnfs,make,git,dos2unix,unzip
  294. +---- snip ----
  295. +
  296. +
  297.  #
  298. +# 5. Download "ms-nfs41-client" installation tarball:
  299. +#
  300. +# (from a Cygwin terminal)
  301.  $ mkdir -p ~/download
  302.  $ cd ~/download
  303.  $ wget 'http://www.nrubsig.org/people/gisburn/work/msnfs41client/releases/testing/${bintarball.base_filename}.tar.bz2'
  304. @@ -130,7 +163,7 @@ SHA2-256(${bintarball.base_filename}.tar.bz2)= ${bintarball.archive_sha256hash}
  305.  
  306.  
  307.  #
  308. -# 5. Installation (as "Administrator"):
  309. +# 6. Installation (as "Administrator"):
  310.  #
  311.  $ (cd / && tar -xf ~/download/${bintarball.base_filename}.tar.bz2 )
  312.  $ /sbin/msnfs41client install
  313. @@ -138,14 +171,14 @@ $ /sbin/msnfs41client install
  314.  
  315.  
  316.  #
  317. -# 6. Deinstallation:
  318. +# 7. Deinstallation:
  319.  #
  320.  $ (set -o xtrace ; cd / && tar -tf ~/download/${bintarball.base_filename}.tar.bz2 | while read i ; do [[ -f "$i" ]] && rm "$i" ; done)
  321.  <REBOOT>
  322.  
  323.  
  324.  #
  325. -# 7. Usage:
  326. +# 8. Usage:
  327.  #
  328.  
  329.  # Option a)
  330. @@ -213,16 +246,8 @@ $ /sbin/nfs_mount
  331.  
  332.  
  333.  #
  334. -# 8. Notes:
  335. +# 9. Notes:
  336.  #
  337. -- Cygwin 32bit can be installed like this:
  338. ----- snip ----
  339. -# Install Cygwin 32bit on Windows 32 with packages required by "ms-nfs41-client"
  340. -# (Windows NFSv4.1 client):
  341. -# 1. Get installer from https://www.cygwin.com/setup-x86.exe
  342. -# 2. Run installer with these arguments:
  343. -setup-x86.exe --allow-unsupported-windows -q --no-verify --site http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/2022/11/23/063457 -P cygwin,cygwin-devel,cygrunsrv,cygutils,cygutils-extra,bash,bzip2,coreutils,getent,gdb,grep,hostname,less,libiconv,libiconv2,pax,pbzip2,procps-ng,sed,tar,time,util-linux,wget,libnfs,make,git,dos2unix,unzip
  344. ----- snip ----
  345.  
  346.  - Idmapping (including uid/gid mapping) between NFSv4 client and
  347.    NFSv4 server works via /lib/msnfs41client/cygwin_idmapper.ksh,
  348. @@ -313,7 +338,7 @@ setup-x86.exe --allow-unsupported-windows -q --no-verify --site http://ctm.crouc
  349.    NFSv4 client source TCP port will be >= 1024.
  350.  
  351.  #
  352. -# 9. Known issues:
  353. +# 10. Known issues:
  354.  #
  355.  - The kernel driver ("nfs41_driver.sys") does not yet have a
  356.    cryptographic signature for SecureBoot - which means it will only
  357. @@ -364,7 +389,7 @@ setup-x86.exe --allow-unsupported-windows -q --no-verify --site http://ctm.crouc
  358.    use $ nfs_mount -d 'H' instead #
  359.  
  360.  #
  361. -# 10. Notes for troubleshooting && finding bugs/debugging:
  362. +# 11. Notes for troubleshooting && finding bugs/debugging:
  363.  #
  364.  - nfsd_debug.exe has the -d option to set a level for debug
  365.    output.
  366. @@ -399,7 +424,7 @@ setup-x86.exe --allow-unsupported-windows -q --no-verify --site http://ctm.crouc
  367.  
  368.  
  369.  #
  370. -# 11. Source code:
  371. +# 12. Source code:
  372.  #
  373.  - Source code can be obtained from https://github.com/kofemann/ms-nfs41-client
  374.  
  375. --
  376. 2.45.1
  377.  
  378. From 697a8863ae5e40e7e3ef7e69115d1765e22bf4e0 Mon Sep 17 00:00:00 2001
  379. From: Roland Mainz <roland.mainz@nrubsig.org>
  380. Date: Mon, 3 Jun 2024 16:46:42 +0200
  381. Subject: [PATCH 3/4] tests/winsg: winsg should warn if there is no groupname
  382.  
  383. winsg should warn if there is no groupname.
  384.  
  385. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  386. ---
  387. tests/winsg/winsg.c | 2 +-
  388.  1 file changed, 1 insertion(+), 1 deletion(-)
  389.  
  390. diff --git a/tests/winsg/winsg.c b/tests/winsg/winsg.c
  391. index 9cb0a92..a0f18d8 100644
  392. --- a/tests/winsg/winsg.c
  393. +++ b/tests/winsg/winsg.c
  394. @@ -418,7 +418,7 @@ int main(int ac, char *av[])
  395.          cmd_arg_index = i;
  396.      }
  397.  
  398. -    if (cmd_runasgroup && (!newgrpname)) {
  399. +    if ((!cmd_list_token) && (!newgrpname)) {
  400.          (void)fprintf(stderr, "%s: No group name given.\n", av[0]);
  401.          retval = 1;
  402.          goto done;
  403. --
  404. 2.45.1
  405.  
  406. From 472a7a9c59da09a4ed53ee961a1394386ac8c53b Mon Sep 17 00:00:00 2001
  407. From: Roland Mainz <roland.mainz@nrubsig.org>
  408. Date: Mon, 3 Jun 2024 17:42:34 +0200
  409. Subject: [PATCH 4/4] nfs41_build_features: Disable
  410.  |NFS41_DRIVER_WORKAROUND_FOR_GETATTR_AFTER_CLOSE_HACKS|
  411.  
  412. Disable |NFS41_DRIVER_WORKAROUND_FOR_GETATTR_AFTER_CLOSE_HACKS| in
  413. nfs41_build_features.h, it seems the problems with
  414. GETATTR-after-CLOSE have been fixed.
  415. We keep the debug code in place for now until more tests have been
  416. made.
  417.  
  418. Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
  419. ---
  420. nfs41_build_features.h | 3 ++-
  421.  1 file changed, 2 insertions(+), 1 deletion(-)
  422.  
  423. diff --git a/nfs41_build_features.h b/nfs41_build_features.h
  424. index d197668..7d12894 100644
  425. --- a/nfs41_build_features.h
  426. +++ b/nfs41_build_features.h
  427. @@ -74,8 +74,9 @@
  428.   * horrible hacks to improve stabilty because sometimes we use
  429.   * |nfs41_open_state| afer a file close in highly parallel
  430.   * workloads (e.g. building the gcc compiler in parallel).
  431. + *
  432. + * #define NFS41_DRIVER_WORKAROUND_FOR_GETATTR_AFTER_CLOSE_HACKS 1
  433.   */
  434. -#define NFS41_DRIVER_WORKAROUND_FOR_GETATTR_AFTER_CLOSE_HACKS 1
  435.  
  436.  /*
  437.   * NFS41_DRIVER_USE_LARGE_SOCKET_RCVSND_BUFFERS - use
  438. --
  439. 2.45.1

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at