mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +03:00
Fix wrong comment on zcr_blksz_{min,max}
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
This commit is contained in:
parent
428a63cc62
commit
3c144b9267
@ -5074,13 +5074,14 @@ zfs_setsecattr(struct inode *ip, vsecattr_t *vsecp, int flag, cred_t *cr)
|
|||||||
|
|
||||||
#ifdef HAVE_UIO_ZEROCOPY
|
#ifdef HAVE_UIO_ZEROCOPY
|
||||||
/*
|
/*
|
||||||
* Tunable, both must be a power of 2.
|
* The smallest read we may consider to loan out an arcbuf.
|
||||||
*
|
* This 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
|
|
||||||
*/
|
*/
|
||||||
int zcr_blksz_min = (1 << 10); /* 1K */
|
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 */
|
int zcr_blksz_max = (1 << 17); /* 128K */
|
||||||
|
|
||||||
/*ARGSUSED*/
|
/*ARGSUSED*/
|
||||||
|
Loading…
Reference in New Issue
Block a user