]> granicus.if.org Git - zfs/commitdiff
Fix wrong comment on zcr_blksz_{min,max}
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 18 Jul 2019 19:48:46 +0000 (04:48 +0900)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 18 Jul 2019 19:48:46 +0000 (12:48 -0700)
These aren't tunable; illumos has this comment fixed in
"3742 zfs comments need cleaner, more consistent style",
so sync with that.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Closes #9052

module/zfs/zfs_vnops.c

index 9d8a9cbc54193f4352a2210adf8fc6a0efd99f0a..4f07111f25e3f84e346eeaa81c32afa091fd370b 100644 (file)
@@ -5074,13 +5074,14 @@ zfs_setsecattr(struct inode *ip, vsecattr_t *vsecp, int flag, cred_t *cr)
 
 #ifdef HAVE_UIO_ZEROCOPY
 /*
- * Tunable, both must be a power of 2.
- *
- * zcr_blksz_min: the smallest read we may consider to loan out an arcbuf
- * zcr_blksz_max: if set to less than the file block size, allow loaning out of
- *             an arcbuf for a partial block read
+ * The smallest read we may consider to loan out an arcbuf.
+ * This must be a power of 2.
  */
 int zcr_blksz_min = (1 << 10); /* 1K */
+/*
+ * If set to less than the file block size, allow loaning out of an
+ * arcbuf for a partial block read.  This must be a power of 2.
+ */
 int zcr_blksz_max = (1 << 17); /* 128K */
 
 /*ARGSUSED*/