Date: Wed, 11 Aug 2004 23:41:53 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom/mirror g_mirror.c g_mirror.h Message-ID: <200408112341.i7BNfrL0095532@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2004-08-11 23:41:53 UTC
FreeBSD src repository
Modified files:
sys/geom/mirror g_mirror.c g_mirror.h
Log:
MFp4: Simplify code a bit:
- Remove kern.geom.mirror.sync_block_size sysctl. It is quite obvious that we
want to use the biggest size possible.
- Do not use UMA zone for sync data allocations. There could be only one
synchronization request per synchronized disk at a time, so allocate memory
for one request on whole synchronization process related to one disk.
Tested by synchronizing one component (out of three) and by synchronizing
two components (out of three) in parallel.
Revision Changes Path
1.18 +6 -14 src/sys/geom/mirror/g_mirror.c
1.8 +6 -6 src/sys/geom/mirror/g_mirror.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408112341.i7BNfrL0095532>
