svn commit: r286763 - in head/sys: cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys conf

Alexander Motin mav at FreeBSD.org
Fri Aug 14 09:42:31 UTC 2015


On 14.08.2015 12:39, Andriy Gapon wrote:
> On 14/08/2015 12:31, Alexander Motin wrote:
>> Author: mav
>> Date: Fri Aug 14 09:31:07 2015
>> New Revision: 286763
>> URL: https://svnweb.freebsd.org/changeset/base/286763
>>
>> Log:
>>   MFV r277431: 5497 lock contention on arcs_mtx
>>   
>>   Reviewed by: George Wilson <george.wilson at delphix.com>
>>   Reviewed by: Matthew Ahrens <mahrens at delphix.com>
>>   Reviewed by: Richard Elling <richard.elling at richardelling.com>
>>   Approved by: Dan McDonald <danmcd at omniti.com>
>>   Author: Prakash Surya <prakash.surya at delphix.com>
>>   
>>   illumos/illumos-gate at 244781f10dcd82684fd8163c016540667842f203
>>   
>>   This patch attempts to reduce lock contention on the current arc_state_t
>>   mutexes. These mutexes are used liberally to protect the number of LRU
>>   lists within the ARC (e.g. ARC_mru, ARC_mfu, etc). The granularity at
>>   which these locks are acquired has been shown to greatly affect the
>>   performance of highly concurrent, cached workloads.
>>
>> Added:
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/multilist.c   (contents, props changed)
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/multilist.h   (contents, props changed)
>> Modified:
>>   head/sys/cddl/contrib/opensolaris/uts/common/Makefile.files
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/arc.h
>>   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio_inject.c
>>   head/sys/conf/files
>> Directory Properties:
>>   head/sys/cddl/contrib/opensolaris/   (props changed)
>>
>> Modified: head/sys/cddl/contrib/opensolaris/uts/common/Makefile.files
>> ==============================================================================
>> --- head/sys/cddl/contrib/opensolaris/uts/common/Makefile.files	Fri Aug 14 09:25:54 2015	(r286762)
>> +++ head/sys/cddl/contrib/opensolaris/uts/common/Makefile.files	Fri Aug 14 09:31:07 2015	(r286763)
>> @@ -68,6 +68,7 @@ ZFS_COMMON_OBJS +=		\
>>  	lz4.o			\
>>  	lzjb.o			\
>>  	metaslab.o		\
>> +	multilist.o		\
>>  	range_tree.o		\
>>  	refcount.o		\
>>  	rrwlock.o		\
> 
> Thank you!
> The new file also has to be added to sys/conf/files for those who
> compile ZFS into a kernel.

And it was added just below. Have I missed something?

-- 
Alexander Motin


More information about the svn-src-head mailing list