cvs commit: src/sys/geom/mirror g_mirror.c g_mirror.h
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Aug 11 16:41:53 PDT 2004
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
More information about the cvs-all
mailing list