cvs commit: src/sys/geom/mirror g_mirror.c g_mirror.h g_mirror_ctl.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Mon Mar 13 00:58:42 UTC 2006
pjd 2006-03-13 00:58:41 UTC
FreeBSD src repository
Modified files:
sys/geom/mirror g_mirror.c g_mirror.h g_mirror_ctl.c
Log:
- Speed up synchronization process by using configurable number of I/O
requests in parallel.
+ Add kern.geom.mirror.sync_requests tunable which defines how many parallel
I/O requests should be used.
+ Retire kern.geom.mirror.reqs_per_sync and kern.geom.mirror.syncs_per_sec
sysctls.
- Fix race between regular and synchronization requests.
- Reimplement mirror's data synchronization - do not use the topology lock
for this purpose, as it may case deadlocks.
- Stop synchronization from pre-sync hook.
- Fix some other minor issues.
MFC after: 3 days
Revision Changes Path
1.76 +476 -220 src/sys/geom/mirror/g_mirror.c
1.21 +14 -5 src/sys/geom/mirror/g_mirror.h
1.14 +69 -49 src/sys/geom/mirror/g_mirror_ctl.c
More information about the cvs-src
mailing list