Whamcloud - gitweb
Branch b1_4
authoradilger <adilger>
Wed, 6 Jul 2005 08:36:41 +0000 (08:36 +0000)
committeradilger <adilger>
Wed, 6 Jul 2005 08:36:41 +0000 (08:36 +0000)
Fix max OST request size comment (ever since RPC size went from 256-1MB).

lustre/include/linux/lustre_net.h

index 2d15d50..9fc120b 100644 (file)
                                   OST_MAX_THREADS), 2UL)
 #define OST_NBUFS       (64 * smp_num_cpus)
 #define OST_BUFSIZE     (8 * 1024)
-/* OST_MAXREQSIZE ~= 1640 bytes =
- * lustre_msg + obdo + 16 * obd_ioobj + 64 * niobuf_remote
+/* OST_MAXREQSIZE ~= 4768 bytes =
+ * lustre_msg + obdo + 16 * obd_ioobj + 256 * niobuf_remote
  *
  * - single object with 16 pages is 512 bytes
  * - OST_MAXREQSIZE must be at least 1 page of cookies plus some spillover