1 Dec 2006 14:38
[ANN] unionfs patchset-17 release, lock mechanism changed for robust working
Daichi GOTO <daichi <at> freebsd.org>
2006-12-01 13:38:34 GMT
2006-12-01 13:38:34 GMT
Hi Guys!
It is my pleasure and honor to announce the availability of
the unionfs patchset-17. p17 have some significant improvements
around the lock mechanism for robust and stable working.
Patchset-17:
For 7-current
http://people.freebsd.org/~daichi/unionfs/unionfs-p17.diff
For 6.x
sorry, it is for current only.
Changes in unionfs-p17.diff
- Fs takes illegal access without lock of lower layer
vnode if the both upper/lower layers have both vnode.
To fix this problem, we change the lock mechanism to
get locks for both upper/lower layer always.
- Kernel gets a dead-lock easily within above
upper/lower-layer-always-lock-mechanism. To avoide
above dead-lock, we changed vfs_lookup.c. By that change,
it always locks vnodes parent first and children second.
You could see the same lock-order-control implementation
around cache_lookup.
- It takes the both open/close operations per kernel thread.
- It takes readdir-treat-status-management per kernel thread.
- It reopens vnode if needed when coping to upper layer on
advlock.
- mount_unionfs(8) changes option style fitting for fstab(5)
style. (by rodrigc)
(Continue reading)
Hiroharu TAMARU-san gave us good English text. Thanks.
And we added some text around committed of current.
.
--- sys/modules/zfs/Makefile.orig Tue Dec 12 23:16:12 2006
+++ sys/modules/zfs/Makefile Mon Dec 11 13:12:06 2006
<at> <at> -42,6 +42,9 <at> <at>
SRCS+= subr_kernio.c
SRCS+= vdev_geom.c
+.PATH: ${.CURDIR}/../../libkern
+SRCS+= memset.c
+
CWARNFLAGS=-Wall
CWARNFLAGS+=-Wno-unknown-pragmas
CWARNFLAGS+=-Wno-missing-braces
--- /dev/null Tue Dec 12 23:11:00 2006
+++ sys/libkern/memset.c Mon Dec 11 13:12:44 2006
<at> <at> -0,0 +1,45 <at> <at>
+/*-
+ * Copyright (c) 1988, 1993
+ * The Regents of the University of California. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
RSS Feed