_wither_provider() is more recent version will
remove provider from the list and we will use a pointer to freed
provider to find next one on the list.
Someone recently reported such panic to me and asked if
LIST_FOREACH_SAFE() would be enough to fix the problem.
Taking into account your response it
On Thu, Mar 05, 2009 at 12:06:21PM -0600, Alan Cox wrote:
> Pawel Jakub Dawidek wrote:
> >This assertion is triggered on my 7-STABLE machine. It was fine when it
> >was running 6.1, but now after upgrade it panics. If this assert is
> >bogus could you MFC it to 7-STABLE as wel
vail[i + 1] != 0; i += 2)
> - page_range += atop(phys_avail[i + 1] - phys_avail[i]);
> - KASSERT(page_range == npages,
> - ("vm_page_startup: inconsistent page counts"));
> -
> - /*
> * Initialize the physical memory allocator.
>
pjd 2008-09-30 12:03:59 UTC
FreeBSD src repository
Modified files:
.mentors
Log:
SVN rev 183497 on 2008-09-30 12:03:59Z by pjd
lulf@ doesn't need mentor's approval anymore.
Discussed with: kib (co-mentor)
Revision ChangesPath
1.21
pjd 2008-09-15 11:27:25 UTC
FreeBSD src repository
Modified files:
sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_ctldir.c
Log:
SVN rev 183037 on 2008-09-15 11:27:25Z by pjd
Add missing ZFS_EXIT().
PR: kern/124899
Submitted by: Masakazu Asama <[E
pjd 2008-09-07 07:55:12 UTC
FreeBSD src repository
Modified files:
sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_znode.c
Log:
SVN rev 182840 on 2008-09-07 07:55:12Z by pjd
Initialize vp, so we don't call VOP_UNLOCK() with NULL vnode pointer.
Confirmed by: mar
pjd 2008-09-06 17:24:07 UTC
FreeBSD src repository
Modified files:
sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c
zfs_znode.c
Log:
SVN rev 182824 on 2008-09-06 17:24:07Z by pjd
Lock vnode exclusively around
pjd 2008-09-05 07:00:40 UTC
FreeBSD src repository
Modified files:
sys/cddl/contrib/opensolaris/uts/common/fs gfs.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_ctldir.c
zfs_znode.c
Log:
SVN rev 182781 on 2008-09-
pjd 2008-09-01 10:11:39 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_syscalls.c
Log:
SVN rev 182596 on 2008-09-01 10:11:39Z by pjd
When setting error to EINVAL in 'fvp == tdvp' case, jump to out label,
because if not, the error will be later over
pjd 2008-08-29 18:10:18 UTC
FreeBSD src repository
Modified files:
sbin/geom/class/eli geli.8 geom_eli.c
tools/regression/geom_eli attach-d.t configure-b-B.t delkey.t
detach-l.t init-a.t init-i-P.t
init.t integrit
pjd 2008-08-29 17:13:07 UTC
FreeBSD src repository
Modified files:
sbin/geom/class/eli geli.8
Log:
SVN rev 182451 on 2008-08-29 17:13:07Z by pjd
- Give algorithms recommendation.
- Keep options in alphabetical order.
Revision ChangesPath
1.24 +15 -13
pjd 2008-08-28 11:48:49 UTC
FreeBSD src repository
Modified files:
lib/libpcap Makefile
Log:
SVN rev 182368 on 2008-08-28 11:48:49Z by pjd
Add links to all libpcap functions.
Revision ChangesPath
1.41 +48 -0 src/lib/libpcap/Makefile
pjd 2008-08-12 20:19:08 UTC
FreeBSD src repository
Modified files:
sys/geom/eli g_eli.c
Log:
SVN rev 181646 on 2008-08-12 20:19:08Z by pjd
Style(9).
Revision ChangesPath
1.41 +4 -3 src/sys/geom/eli/g_eli.c
___
pjd 2008-08-12 19:42:03 UTC
FreeBSD src repository
Modified files:
sbin/geom/class/eli geli.8 geom_eli.c
Log:
SVN rev 181639 on 2008-08-12 19:42:03Z by pjd
geli onetime command can take only one GEOM provider at a time.
Revision ChangesPath
1.23 +1 -1
On Mon, Aug 11, 2008 at 01:06:00PM -0400, John Baldwin wrote:
> On Monday 11 August 2008 04:41:08 am Pawel Jakub Dawidek wrote:
> > pjd 2008-08-11 08:41:08 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > sys/dev/glxsb
pjd 2008-08-11 08:41:08 UTC
FreeBSD src repository
Modified files:
sys/dev/glxsbglxsb.c glxsb_hash.c
Log:
SVN rev 181593 on 2008-08-11 08:41:08Z by pjd
- Convert sc_sessions_mtx mutex to a rwlock, so in the fast path
(glxsb_process()) we don't block others wh
pjd 2008-08-09 20:01:01 UTC
FreeBSD src repository
Modified files:
sys/crypto/via padlock.c
Log:
SVN rev 181478 on 2008-08-09 20:01:01Z by pjd
Simplify session selection/allocation.
Revision ChangesPath
1.20 +5 -10 src/sys/crypto/via/padlock.c
pjd 2008-08-09 19:48:59 UTC
FreeBSD src repository
Modified files:
sys/crypto/via padlock.c
Log:
SVN rev 181477 on 2008-08-09 19:48:59Z by pjd
- Fix freeing session on newsession failure.
- Update copyright years.
Revision ChangesPath
1.19 +24 -9
pjd 2008-08-09 19:47:19 UTC
FreeBSD src repository
Modified files:
sys/crypto/via padlock.c
Log:
SVN rev 181476 on 2008-08-09 19:47:19Z by pjd
Implify sessions freeing loop.
Revision ChangesPath
1.18 +1 -2 src/sys/crypto/via/padlock.c
pjd 2008-08-09 19:45:43 UTC
FreeBSD src repository
Modified files:
sys/crypto/via padlock.c
Log:
SVN rev 181475 on 2008-08-09 19:45:43Z by pjd
We don't have to drop a lock around malloc(M_NOWAIT).
Revision ChangesPath
1.17 +4 -4 src/sys/crypto
pjd 2008-08-09 19:43:44 UTC
FreeBSD src repository
Modified files:
sys/crypto/via padlock.c
Log:
SVN rev 181474 on 2008-08-09 19:43:44Z by pjd
When freeing session, restore its ID after zeroing memory.
Bug tracked down by:Patrick Lamaiziere <[EMAIL PROTECT
pjd 2008-08-09 19:42:37 UTC
FreeBSD src repository
Modified files:
sys/crypto/via padlock.c
Log:
SVN rev 181473 on 2008-08-09 19:42:37Z by pjd
Sessions in-use are at the end of the queue, so use TAILQ_FOREACH_REVERSE()
when looking for them.
Idea from:
pjd 2008-07-28 18:10:26 UTC
FreeBSD src repository
Modified files:
sys/kern subr_sleepqueue.c
Log:
SVN rev 180927 on 2008-07-28 18:10:26Z by pjd
Properly check if td_name is empty and if it is, print process name,
instead of empty thread name.
Reviewed
pjd 2008-07-27 11:48:15 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
SVN rev 180844 on 2008-07-27 11:48:15Z by pjd
Assert for exclusive vnode lock in vinactive(), vrecycle() and vgonel()
functions.
Reviewed by:kib
Revisi
pjd 2008-07-27 11:46:42 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
SVN rev 180843 on 2008-07-27 11:46:42Z by pjd
- Move vp test for beeing NULL under IGNORE_LOCK().
- Check if panicstr isn't set, if it is ignore the lock. This helps
pjd 2008-07-23 15:12:45 UTC
FreeBSD src repository
Modified files:
sys/sys refcount.h
Log:
SVN rev 180759 on 2008-07-23 15:12:45Z by pjd
Back out this change, as it breaks the build and I don't have time for
a better fix today.
Revision ChangesPa
pjd 2008-07-23 11:17:46 UTC
FreeBSD src repository
Modified files:
sys/sys refcount.h
Log:
SVN rev 180755 on 2008-07-23 11:17:46Z by pjd
Check for negative reference count.
Reviewed by:des
Revision ChangesPath
1.2 +10 -1 src/sy
pjd 2008-07-21 15:05:25 UTC
FreeBSD src repository
Modified files:
share/man/man9 sysctl.9 sysctl_add_oid.9
sys/kern kern_environment.c
sys/sys kernel.h sysctl.h
Log:
SVN rev 180661 on 2008-07-21 15:05:25Z by pjd
Implement the fol
pjd 2008-07-21 14:35:48 UTC
FreeBSD src repository
Modified files:
sys/cddl/contrib/opensolaris/uts/common/fs/zfs dmu_zfetch.c
Log:
SVN rev 180660 on 2008-07-21 14:35:48Z by pjd
We want to use LBOLT instead of lbolt on FreeBSD.
I've this already fixed in p4, but the fi
pjd 2008-07-21 09:45:44 UTC
FreeBSD src repository
Modified files:
sys/cddl/compat/opensolaris/kern opensolaris_vfs.c
Log:
SVN rev 180652 on 2008-07-21 09:45:44Z by pjd
We want to check new options given, not the current ones.
This fixes 'zpool import -o ' not working
pjd 2008-07-20 19:56:13 UTC
FreeBSD src repository
Modified files:
sys/geom/eli g_eli.c
Log:
SVN rev 180638 on 2008-07-20 19:56:13Z by pjd
Clear passphrase buffer after use.
Submitted by: Fabian Keil <[EMAIL PROTECTED]> (a bit different version)
Revis
pjd 2008-07-20 07:34:00 UTC
FreeBSD src repository
Modified files:
sys/crypto/via padlock.c
Log:
SVN rev 180626 on 2008-07-20 07:34:00Z by pjd
Convert lock that protects sessions list from a mutex to a rwlock.
Now we can use read lock in fast path (padlock_proces
pjd 2008-07-19 22:29:44 UTC
FreeBSD src repository
Modified files:
sys/ufs/ffs ffs_vfsops.c
Log:
SVN rev 180621 on 2008-07-19 22:29:44Z by pjd
Say hi to svn, by simplifing ffs_vget() function a bit - there is no need for
a variable that is used only once.
y ed
>
> Remove the $FreeBSD$ tag again, now I know fbsd:nokeywords exists.
Thank you.
--
Pawel Jakub Dawidek http://www.wheel.pl
[EMAIL PROTECTED] http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
pgp1
I think
it's good enough.
PS. I'm not against this functionality, but we should be much more
careful, especially with hostnames when
security.jail.set_hostname_allowed=1.
--
Pawel Jakub Dawidek http://www.wheel.pl
[EMAIL PROTECTED]
n.
> > Makes sense only for those who keep their jails uniquely identifyable
> > by hostname or ip-number, of corse.
>
> Maybe make it only work if it only matches a single jail? That would work
> for
> the common case while avoiding ambiguities in t
he
> same (physical) disk or not.
This is how I started to think about that, but this is not possible.
Moreover you may still want to use -2 option even if this looks like one
physical disk, but it represents a RAID5 array.
--
Pawel Jakub Dawidek http://w
pjd 2008-05-25 22:34:17 UTC
FreeBSD src repository
Modified files:
sys/cddl/contrib/opensolaris/uts/common/fs/zfs refcount.c
spa_misc.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys refcount.h
Log:
Fix namespace co
pjd 2008-05-20 12:34:30 UTC
FreeBSD src repository
Modified files:
sys/dev/usb usb.c
Log:
Drop Giant before calling kproc_exit(), so we don't trigger assertion in
kproc_exit().
Discussed with: imp
Revision ChangesPath
1.122 +4 -0 src/sys/d
pjd 2008-05-20 12:26:45 UTC
FreeBSD src repository
Modified files:
sys/dev/acpi_support acpi_ibm.c
Log:
Add ID for T61p, which is not IBM really, but well.
Revision ChangesPath
1.17 +1 -1 src/sys/dev/acpi_support/acpi_ibm.c
__
pjd 2008-05-20 12:24:31 UTC
FreeBSD src repository
Modified files:
sbin/swapon Makefile swapon.8 swapon.c
Log:
- Change the meaning of -h flag from giving the output in megabytes to
giving the output in a human-readable form. This behaviour is consistent
with
pjd 2008-05-20 11:45:05 UTC
FreeBSD src repository
Modified files:
lib/libgeom geom_util.c libgeom.3
Log:
Use 'dowrite' as an argument name instead of too general 'write'.
Revision ChangesPath
1.2 +4 -4 src/lib/libgeom/geom_util.c
1.9 +
pjd 2008-05-20 11:43:56 UTC
FreeBSD src repository
Modified files:
sys/geom geom_subr.c
Log:
Force commit to note, that the typo in KASSERT() was:
PR: kern/116896
Reported by:VANHULLEBUS Yvan <[EMAIL PROTECTED]>
Revision ChangesPat
pjd 2008-05-18 22:50:50 UTC
FreeBSD src repository
Modified files:
sys/geom geom_subr.c
Log:
- Assert that we don't send new provider event for a provider which has
G_PF_WITHER flag set.
- Fix typo in assertion condition (sorry, but I forgot who report that)
pjd 2008-05-18 21:13:10 UTC
FreeBSD src repository
Modified files:
sys/geom geom_subr.c
Log:
Play nice with DDB pager.
Educated by:jhb's BSDCan presentation
Revision ChangesPath
1.94 +18 -4 src/sys/geom/geom_subr.c
___
pjd 2008-05-18 21:08:12 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
Be more friendly for DDB pager.
Educated by:jhb's BSDCan presentation
Revision ChangesPath
1.732 +6 -1 src/sys/kern/vfs_subr.c
___
On Fri, May 09, 2008 at 11:56:14AM +0200, Oliver Fromme wrote:
>
> Pawel Jakub Dawidek wrote:
> > On Fri, May 09, 2008 at 11:08:20AM +0200, Oliver Fromme wrote:
> > > Pawel Jakub Dawidek wrote:
> > > > Modified files:
> > > > sys/ker
On Fri, May 09, 2008 at 11:08:20AM +0200, Oliver Fromme wrote:
>
> Pawel Jakub Dawidek wrote:
> > Modified files:
> > sys/kern subr_param.c
> > Log:
> > - Export HZ value via kern.hz sysctl (this is the same name as for the
> >
pjd 2008-05-09 07:42:02 UTC
FreeBSD src repository
Modified files:
sys/kern subr_param.c
Log:
- Export HZ value via kern.hz sysctl (this is the same name as for the
loader tunable).
- Document other sysctls in this file and also mark them as loader tunable
pjd 2008-04-29 08:16:05 UTC
FreeBSD src repository
Modified files:
share/man/man4 termios.4
share/man/man9 BUS_SETUP_INTR.9
usr.bin/fstatfstat.1
Log:
Fix some section references.
Revision ChangesPath
1.31 +3 -3 src/share/man
pjd 2008-04-29 07:35:31 UTC
FreeBSD src repository
Modified files:
usr.bin/stat stat.1
Log:
The referenced section name is 'Formats', not 'FORMATS'.
Revision ChangesPath
1.10 +1 -1 src/usr.bin/stat/stat.1
_
pjd 2008-04-28 14:11:23 UTC
FreeBSD src repository
Modified files:
share/man/man4 ddb.4
Log:
Document 'show mount' command.
Revision ChangesPath
1.50 +7 -1 src/share/man/man4/ddb.4
___
cvs-all@freebsd.org
pjd 2008-04-26 13:04:48 UTC
FreeBSD src repository
Modified files:
sys/sys mount.h
sys/kern vfs_subr.c
Log:
Implement 'show mount' command in DDB. Without argument, it prints short
info about all currently mounted file systems. When an address
pjd 2008-04-26 13:03:23 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_7)
sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c
Log:
MFC:sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:1.28
Fix mmap(2) on ZFS after some changes in VM sub
pjd 2008-04-21 17:22:35 UTC
FreeBSD src repository
Modified files:
sys/kern kern_linker.c
Log:
Back-out previous revision. For now I can use _ddb() variants of stack(9) KPI,
as I use it for debugging only. Once someone will need it for more production
features
On Thu, Apr 17, 2008 at 10:54:08PM +0100, Robert Watson wrote:
>
> On Thu, 17 Apr 2008, Pawel Jakub Dawidek wrote:
>
> >pjd 2008-04-17 19:19:40 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > sys/kern kern_linker.c
pjd 2008-04-17 19:19:40 UTC
FreeBSD src repository
Modified files:
sys/kern kern_linker.c
Log:
Allow linker_search_symbol_name() to be called with KLD lock held.
The linker_search_symbol_name() function is used by stack_print()
and stack_print() can be called
pjd 2008-04-12 05:49:05 UTC
FreeBSD src repository
Modified files:
share/man/man4 ddb.4
Log:
Correct an obvious typo.
Revision ChangesPath
1.49 +1 -1 src/share/man/man4/ddb.4
___
cvs-all@freebsd.org maili
pjd 2008-04-09 20:19:55 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_cache.c
Log:
- Use LK_TYPE_MASK where needed. Actually after sys/sys/lockmgr.h:1.69 it is
no longer needed, but for now we still want to be consistent with other
similar checks
pjd 2008-04-07 18:12:37 UTC
FreeBSD src repository
Modified files:
sys/ufs/ufs ufs_gjournal.c
Log:
Correct function name in panic().
Reported by:kensmith
Revision ChangesPath
1.3 +1 -1 src/sys/ufs/ufs/ufs_gjournal.c
___
pjd 2008-03-19 14:44:55 UTC
FreeBSD src repository
Modified files:
etc/rc.d zfs
Log:
Be sure to run rc.d/zfs before mountcritremote. This way we can for example
configure devfs rules in /etc/devfs.conf for ZVOLs.
Submitted by: Yarema <[EMAIL PROTECTED]>
pjd 2008-03-19 07:52:07 UTC
FreeBSD src repository
Modified files:
sys/kern kern_resource.c
Log:
Remove extra uihold() call that accidentally sneak in during perforce
change @125544.
Revision ChangesPath
1.189 +0 -1 src/sys/kern/kern_resourc
pjd 2008-03-19 07:27:24 UTC
FreeBSD src repository
Modified files:
sys/sparc64/include atomic.h
sys/sun4v/includeatomic.h
Log:
Oops. Use atomic_add_long() for atomic_fetchadd_long() (not atomic_add_int())
for sparc64 and sun4v.
Noticed by: marius
Rev
der and one
writer working in parallel. Performance improvements are very visible
from what I tested.
--
Pawel Jakub Dawidek http://www.wheel.pl
[EMAIL PROTECTED] http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
pgpXhjVWztI2L.pgp
Description: PGP signature
pjd 2008-03-17 11:48:40 UTC
FreeBSD src repository
Modified files:
sys/kern subr_witness.c
Log:
- There is no more "uidinfo struct" mutex.
- The "uidinfo hash" lock is now a rwlock.
Reminded by:kib
Revision ChangesPath
1.243 +1 -2 s
pjd 2008-03-16 21:32:21 UTC
FreeBSD src repository
Modified files:
sys/kern kern_resource.c
Log:
Whitespace cleanups.
Revision ChangesPath
1.187 +7 -7 src/sys/kern/kern_resource.c
___
cvs-all@freebsd
pjd 2008-03-16 21:29:02 UTC
FreeBSD src repository
Modified files:
sys/sys resourcevar.h
sys/kern kern_resource.c
Log:
- Use wait-free method to manage ui_sbsize and ui_proccnt fields in the
uidinfo structure. This entirely removes contention
pjd 2008-03-16 21:20:50 UTC
FreeBSD src repository
Modified files:
sys/amd64/includeatomic.h
sys/i386/include atomic.h
sys/ia64/include atomic.h
sys/powerpc/include atomic.h
sys/sparc64/include atomic.h
sys/sun4v/includeatomic.h
shar
pjd 2008-03-16 18:26:59 UTC
FreeBSD src repository
Modified files:
sys/kern kern_resource.c
Log:
Style fixes.
Revision ChangesPath
1.185 +7 -11 src/sys/kern/kern_resource.c
___
cvs-all@freebsd.org mai
pjd 2008-03-16 17:55:06 UTC
FreeBSD src repository
Modified files:
sys/kern kern_resource.c
Log:
Fix information leak. We can find PIDs of running processes from within
a jail, etc. by simply calling setpriority(PRIO_PROCESS, , 0) and
checking the return value
pjd 2008-03-16 17:10:52 UTC
FreeBSD src repository
Modified files:
sys/sys rwlock.h
share/man/man9 rwlock.9
Log:
Implement soon-to-be-used rw_unlock() macro.
Revision ChangesPath
1.14 +9 -1 src/share/man/man9/rwlock.9
1.16
pjd 2008-03-16 17:06:05 UTC
FreeBSD src repository
Modified files:
share/man/man9 rwlock.9
Log:
Add missing .El.
Revision ChangesPath
1.13 +1 -0 src/share/man/man9/rwlock.9
___
cvs-all@freebsd.org mailing
pjd 2008-03-15 23:23:04 UTC
FreeBSD src repository
Modified files:
sys/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c
Log:
Fix mmap(2) on ZFS after some changes in VM subsystem.
Submitted by: alc
Reported by:kris (originally) and many others
Tested with:
pjd 2008-03-05 11:51:13 UTC
FreeBSD src repository
Modified files:
sbin/geom/core geom.8
Log:
Add info about few missing GEOM classes that use geom(8).
Revision ChangesPath
1.22 +13 -1 src/sbin/geom/core/geom.8
__
pjd 2008-01-24 11:24:16 UTC
FreeBSD src repository
Modified files:
sys/contrib/opensolaris/uts/common/fs/zfs arc.c
Log:
- Reduce how much ZFS caches by default. This is another change to mitigate
'kmem_map too small panics'.
- Print two warnings if there is not enough m
pjd 2008-01-24 11:21:54 UTC
FreeBSD src repository
Modified files:
sys/compat/opensolaris/kern opensolaris_kmem.c
sys/compat/opensolaris/sys kmem.h
Log:
Change type of kmem_used() and kmem_size() functions to uint64_t, so it
doesn't overflow in arc.c in this check:
pjd 2008-01-17 14:59:26 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_7_0)
sys/contrib/opensolaris/uts/common/fs/zfs zvol.c
Log:
MFC:sys/contrib/opensolaris/uts/common/fs/zfs/zvol.c1.4
Call zil_commit() (if ZIL is not disabled) after every
pjd 2008-01-17 14:58:49 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_7_0)
sys/contrib/opensolaris/uts/common/fs/zfs vdev.c
Log:
MFC:sys/contrib/opensolaris/uts/common/fs/zfs/vdev.c1.4
Close access to vdev when setting state to anything bu
pjd 2008-01-17 14:57:50 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_7_0)
sys/vm vm_kern.c
Log:
MFC:sys/vm/vm_kern.c1.131
When one tries to allocate memory with the M_WAITOK flag and we are short in
address space in kmem m
pjd 2008-01-17 07:50:34 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_7)
sys/contrib/opensolaris/uts/common/fs/zfs zvol.c
Log:
MFC:sys/contrib/opensolaris/uts/common/fs/zfs/zvol.c1.4
Call zil_commit() (if ZIL is not disabled) after every n
pjd 2008-01-17 07:49:16 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_7)
sys/contrib/opensolaris/uts/common/fs/zfs vdev.c
Log:
Close access to vdev when setting state to anything but open state.
This fixes replacing drive in place, eg. zpool replace tank
pjd 2008-01-17 07:47:03 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_7)
sys/vm vm_kern.c
Log:
MFC:sys/vm/vm_kern.c1.131
When one tries to allocate memory with the M_WAITOK flag and we are short in
address space in kmem map
pjd 2008-01-10 08:36:38 UTC
FreeBSD src repository
Modified files:
sys/vm vm_kern.c
Log:
When one tries to allocate memory with the M_WAITOK flag and we are short in
address space in kmem map call vm_lowmem event in a loop and wait a bit for
subsystems to re
a process as well.
What do you think?
> Revision ChangesPath
> 1.262 +5 -1 src/sys/kern/kern_thread.c
> 1.38 +18 -1 src/sys/sys/eventhandler.h
You forgot to commit changes to kern_proc.c it seems.
--
Pawel Jakub Dawidek http:/
On Fri, Nov 09, 2007 at 09:50:52PM +0200, Giorgos Keramidas wrote:
> On 2007-11-09 20:22, Pawel Jakub Dawidek <[EMAIL PROTECTED]> wrote:
> >>> Another trick is to just skip '-t vnode' as it is assumed when -f is
> >>> used.
> >>
> >> Ni
On Fri, Nov 09, 2007 at 08:55:58PM +0200, Giorgos Keramidas wrote:
> On 2007-11-09 19:26, Pawel Jakub Dawidek <[EMAIL PROTECTED]> wrote:
> >On Fri, Nov 09, 2007 at 06:02:52PM +, Giorgos Keramidas wrote:
> >> Instead of hardcoding md10 as the device node in the cd96
/md10 /mnt
> +mount -t cd9660 /dev/`mdconfig -a -t vnode -f cdimage.iso` /mnt
Another trick is to just skip '-t vnode' as it is assumed when -f is
used.
--
Pawel Jakub Dawidek http://www.wheel.pl
[EMAIL PROTECTED] http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
pgpRk2wCTg29u.pgp
Description: PGP signature
pjd 2007-11-07 21:56:58 UTC
FreeBSD src repository
Modified files:
sys/vm vm_kern.c vm_map.c vm_map.h
Log:
Change unused 'user_wait' argument to 'timo' argument, which will be
used to specify timeout for msleep(9).
Discussed with: alc
Reviewed by:al
pjd 2007-11-07 14:44:31 UTC
FreeBSD src repository
Modified files:
sys/contrib/opensolaris/uts/common/fs/zfs arc.c
Log:
Warn if kmem_map size is set to less than 512MB. Previous warning was a bit
pointless, because default is set to something around 300MB and also
insuffi
ragma
> warnings.
> - Expect that fstat(1) doesn't work with kernel compiled with
> DEBUG_VFS_LOCKS/DEBUG_LOCKS for now.
Just to clarify. This commit doesn't break it. It didn't worked before
too. I just discovered it during testing lulf's patch.
--
Pawel Jaku
pjd 2007-11-05 22:18:34 UTC
FreeBSD src repository
Removed files:
sys/contrib/opensolaris/uts/common/sys vfs.h
Log:
Remove unused header.
MFC after: 3 days
Revision ChangesPath
1.2 +0 -569src/sys/contrib/opensolaris/uts/common/sys/vfs.h (dead)
pjd 2007-11-05 21:30:48 UTC
FreeBSD src repository
Modified files:
sys/contrib/opensolaris/uts/common/fs/zfs vdev.c
Log:
If setting a state to anything but open state, close access to vdev.
This fixes replacing drive in place, eg. zpool replace tank da1 da1.
Before it com
pjd 2007-11-05 18:40:55 UTC
FreeBSD src repository
Modified files:
sys/compat/opensolaris/sys kcondvar.h mutex.h rwlock.h
Log:
Remove "zfs:" prefix from lock and condvar names and also skip non-letter
characters (mostly "&"). Because top(1) shows only first six characters o
On Sat, Nov 03, 2007 at 09:37:34PM +0100, Kris Kennaway wrote:
> Pawel Jakub Dawidek wrote:
> >pjd 2007-11-01 11:04:21 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> >sys/contrib/opensolaris/uts/common/fs/zfs zvol.c
> >
pjd 2007-11-01 11:04:21 UTC
FreeBSD src repository
Modified files:
sys/contrib/opensolaris/uts/common/fs/zfs zvol.c
Log:
Call zil_commit() (if ZIL is not disabled) after every non-read request
(BIO_WRITE and BIO_FLUSH) as it is done is Solaris. The difference is
that Sola
pjd 2007-11-01 08:58:29 UTC
FreeBSD src repository
Modified files:
sys/compat/opensolaris/kern opensolaris_vfs.c
Log:
- Move crfree() outside MNT_ILOCK()/MNT_IUNLOCK() to eliminate a LOR:
1st 0xc4cea568 struct mount mtx (struct mount mtx) @
/usr/src/sys/modules/zfs/../..
On Fri, Oct 26, 2007 at 03:57:03PM +, Alexey Dokuchaev wrote:
> On Fri, Oct 26, 2007 at 06:55:00AM +0000, Pawel Jakub Dawidek wrote:
> > pjd 2007-10-26 06:55:00 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > sy
pjd 2007-10-26 08:31:11 UTC
FreeBSD src repository
Modified files:
tools/regression/geom_eli init-a.t init.t integrity-copy.t
integrity-data.t integrity-hmac.t
onetime-a.t onetime.t
Log:
Hide geli warnings about se
pjd 2007-10-26 08:23:57 UTC
FreeBSD src repository
Modified files:
sys/modules/geom Makefile
Log:
Add GEOM VIRSTOR module to the build.
Revision ChangesPath
1.20 +1 -0 src/sys/modules/geom/Makefile
___
cvs-
pjd 2007-10-26 06:55:00 UTC
FreeBSD src repository
Modified files:
sys/geom geom_io.c
Log:
Save stack only when KTR_GEOM is both compiled into the kernel and enabled
in debug.ktr.mask. Because saving stack is very expensive, it's better only
to do it when one
1 - 100 of 992 matches
Mail list logo