Revert minor part of r344934.
I tried to save some CPU time on hopeless aggregation attempts, but it seems the condition I added is overly strict, blocking also aggregation of optional I/Os in cases which previously were possible. Revert just to be safe. MFC after: 1 month
This commit is contained in:
parent
735a3eae28
commit
aa8676f25d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345014
@ -692,7 +692,7 @@ vdev_queue_aggregate(vdev_queue_t *vq, zio_t *zio)
|
||||
limit = zfs_vdev_aggregation_limit;
|
||||
limit = MAX(MIN(limit, maxblocksize), 0);
|
||||
|
||||
if (zio->io_flags & ZIO_FLAG_DONT_AGGREGATE || zio->io_size >= limit)
|
||||
if (zio->io_flags & ZIO_FLAG_DONT_AGGREGATE || limit == 0)
|
||||
return (NULL);
|
||||
|
||||
first = last = zio;
|
||||
|
Loading…
Reference in New Issue
Block a user