]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
7531 Assign correct flags to prefetched buffers
authorAndriy Gapon <avg@FreeBSD.org>
Thu, 9 Nov 2017 18:21:17 +0000 (18:21 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Thu, 9 Nov 2017 18:21:17 +0000 (18:21 +0000)
commit0a98af26af9d24a9b54ef5ee0d343b696584dab0
tree4c02ccc5c1c64a475738d2b7f0b896142e9e3362
parente36f8619784ead82037022ac6bb2f88638eab19e
7531 Assign correct flags to prefetched buffers

illumos/illumos-gate@272952165423c254ad7708f1b3fe2ff0a6ce408b
https://github.com/illumos/illumos-gate/commit/272952165423c254ad7708f1b3fe2ff0a6ce408b

https://www.illumos.org/issues/7531
  I found that some buffers that could be L2ARC eligible are not flagged
  such, leading to some performance impact.  As a test I ran the same IO
  workload 10 times in a raw.  It is a metadata only workload (files
  listing).  l2arc_noprefetch=0.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Author: benrubson <ben.rubson@gmail.com>

MFC after: 8 days
uts/common/fs/zfs/dbuf.c
uts/common/fs/zfs/sys/dbuf.h