Displaying 20 results from an estimated 110 matches for "vnode".
Did you mean:
inode
2006 Nov 02
11
ZFS and memory usage.
...t and I''m leaking them somehow?
On the other hand when I unload ZFS kernel module, FreeBSD''s kernel
reports any memory leaks - they exist, but are much, much smaller.
There is also quite a lot of znodes, which I''d also like to be able to
free and not sure how. In Solaris vnode''s life end in VOP_INACTIVE()
routine, but znode if kept around. In FreeBSD VOP_INACTIVE() means "puts
the vnode onto free vnodes list" and when we want to use this vnode for
different file system VOP_RECLAIM() is called and VOP_RECLAIM() will be
a good place to free znode as well...
2003 May 21
8
system slowdown - vnode related
...ain.
I can reliably get the box in to this state by doing 'find /'. I do
have a lot of files on the disk, and a things like squid and postgres
that do a lot of file i/o, but I don't recall this happening before
this week. I don't find anything in 'tuning' about bumping up vnodes,
but I do see sporadic reports on a google group search - searching for
'ffsvgt'.
Anybody run into this before?
- Mike H.
2008 Jun 18
4
getting inodeno for zfs from vnode in vfs kernel layer
i need to get inodeno on ZFS and i am not able to find how to find it in
kernel at vfs layer.
i have vnode pointer and i am doing VTOZ to get znode but printing z_id
from znode pointer
gives me deadbeef(unitialized) , can somebody point me how to get that?
i looked at zfs_getattr code and it does similar thing which i am doing
but its able to get me
inode no in getattribute structure(node id), that...
2006 Mar 17
1
acquiring duplicate lock of same type: "vnode interlock"
I think I've read somewhere about panic during early root mount, fsck
etc.. Perhaps this might be related:
Full dmesg: http://people.freebsd.org/~ariff/misc/dmesg.boot.amd64
[....]
acquiring duplicate lock of same type: "vnode interlock"
1st vnode interlock @ kern/vfs_vnops.c:791
2nd vnode interlock @ kern/vfs_subr.c:2018
KDB: stack backtrace:
witness_checkorder() at witness_checkorder+0x4da
_mtx_lock_flags() at _mtx_lock_flags+0x4a
vrefcnt() at vrefcnt+0x31
null_checkvp() at null_checkvp+0x65
null_lock() at null_...
2012 Sep 30
2
rsync over NFSv4
Hi,
my FreeBSD-9/stable machine (FreeBSD freebsd-tower.goebo.site
9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r241044M: Sat Sep 29 12:52:01
CEST 2012 lbo@freebsd-tower.goebo.site:/usr/obj/usr/src/sys/GENERIC
i386) crashes reproducibly when rsync-ing files to an NFSv4 share on
the FreeBSD machine. The crash makes the system reboot. The crash
creates files in /var/crash which may be obtained
2006 Jun 01
1
mac_bsdextended log information
...ocess try to muck with? It is a root owned file, and it is important that it want to act on it. Security problem, or benign problem? Who knows without being able to know what the file is. A look at the source code implies that the "request 256" means that the web process tried to read the vnode numbered 256. Is that accurate?
If it is, how do I go about associating vnode numbers to files, so I have a hope of troubleshooting these errors.
Searching seems to turn up no tool or easy way to get this vnode -> file information. Help!
Jeff
2008 Jun 18
0
getting inode for zfs from vnode/vfs layer in kernel
i need to get inodeno on ZFS and i am not able to find how to find it in
kernel at vfs layer.
i have vnode pointer and i am doing VTOZ to get znode but printing z_id
from znode pointer
gives me deadbeef(unitialized) , can somebody point me how to get that?
i looked at zfs_getattr code and it does similar thing which i am doing
but its able to get me
inode no in getattribute structure(node id), that...
2006 Jun 13
1
printing vnode page list
I''m trying to debug a problem that requires I print the
dirty pages (v_pages) list. Any suggestions?
This message posted from opensolaris.org
2013 Jul 24
1
NFS deadlock on 9.2-Beta1
Two machines (NFS Server: running ZFS / Client: disk-less), both are running FreeBSD r253506. The NFS client starts to deadlock processes within a few hours. It usually gets worse from there on. The processes stay in "D" state. I haven't been able to reproduce it when I want it to happen. I only have to wait a few hours until the deadlocks occur when traffic to the client machine
2006 Mar 02
1
Panics with md/gvinum/ufs
...ortant. I could not find any
information on how gvinum detects failed hard disks.
That's why I tried something really simple.
Steps to reproduce:
1)
dd if=/dev/zero of=a bs=1024 count=256000
dd if=/dev/zero of=b bs=1024 count=256000
dd if=/dev/zero of=c bs=1024 count=256000
2)
mdconfig -a -t vnode -u 0 -f a
mdconfig -a -t vnode -u 1 -f b
mdconfig -a -t vnode -u 2 -f c
3)
gvinum create raid5.conf
with raid5.conf:
drive a device /dev/md0
drive b device /dev/md1
drive c device /dev/md2
volume raid5
plex org raid5 491k
sd length 0 drive a
sd length 0 drive b...
2009 Oct 28
3
where do kernel data types come from?
I have a script where I can freely reference struct nameidata*, struct
vnode*, etc. on Snow Leopard.
How does DTrace know about these data types? I understand things like
#pragma D depends_on library darwin.d
where darwin.d has typedefs.
I can''t find definitions of nameidata and vnode in any D scripts,
though. How does it work?
Thanks, Joel
---
firefox for...
2002 Jul 12
0
rsync-2.5.5 and sys/mode.h on Irix 6.5.15f
...:platform=IP22 -I/usr/local/include -I/software/@sys/usr/include -I/usr/local/Berkele
yDB.4.0/include -DHAVE_CONFIG_H -O3 -n32 -TARG:platform=IP22 -I/usr/local/include -I/software/@sys/usr/include -I/usr/loc
al/BerkeleyDB.4.0/include conftest.c >&5
cc-1204 cc: WARNING File = /usr/include/sys/vnode.h, Line = 318
The indicated declaration is not visible outside of the function.
typedef int (*vop_read_t)(bhv_desc_t *, struct uio *, int, struct cred *,
^
cc-1204 cc: WARNING File = /usr/include/sys/vnode.h, Line = 320
Th...
2017 Dec 19
3
Question about : lprofValueProfNodes
Hi
This array is defined in compiler-rt: InstrProfilingValue.c but I can’t find where it is used?
And the comment on it does not say much about why we need it either.
Can someone explain why we need this and where it is used?
/* A shared static pool in addition to the vnodes statically
* allocated by the compiler. */
COMPILER_RT_VISIBILITY ValueProfNode
lprofValueProfNodes[INSTR_PROF_VNODE_POOL_SIZE] COMPILER_RT_SECTION(COMPILER_RT_SEG INSTR_PROF_VNODES_SECT_NAME_STR);
Thanks
A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <...
2013 Oct 16
4
[PATCH 1/7] xen: vNUMA support for PV guests
...ULL;
+ domain_vnuma_destroy(&d->vnuma);
/* fallthrough */
case DOMDYING_dying:
rc = domain_relinquish_resources(d);
@@ -1287,6 +1288,15 @@ int continue_hypercall_on_cpu(
return 0;
}
+void domain_vnuma_destroy(struct domain_vnuma_info *v)
+{
+ v->nr_vnodes = 0;
+ xfree(v->vnuma_memblks);
+ xfree(v->vcpu_to_vnode);
+ xfree(v->vdistance);
+ xfree(v->vnode_to_pnode);
+}
+
/*
* Local variables:
* mode: C
diff --git a/xen/common/domctl.c b/xen/common/domctl.c
index 870eef1..042e2d2 100644
--- a/xen/common/domctl.c
+++ b/xen/c...
2007 Nov 08
5
mdb ::memstat including zfs buffer details?
Hey all -
Just a quick one...
Is there any plan to update the mdb ::memstat dcmd to present ZFS
buffers as part of the summary?
At present, we get something like:
> ::memstat
Page Summary Pages MB %Tot
------------ ---------------- ---------------- ----
Kernel 28859 112 13%
Anon 34230
2007 Jan 10
2
[DTrace] using C preprocessor in dtrace scripts
Hi Max/DTrace list,
> At any rate, without the -C, I can''t use #include <sys/stream.h>.
> Without the #include <sys/stream.h>, I can''t use the M_DATA.
> As it is, I get the following:
>
> # ./strrput.d 0xd595a6c0 <-- this is a vnode for a socket
> ftp is using (not important here)
> dtrace: failed to compile script ./strrput.d: line 7:
> sd_vnode is not a member of struct stdata
> #
>
> sd_vnode is definitely a member, so I tried using #define
> _KERNEL in the script, and then I get an error:
> dtrace:...
2013 Jul 17
1
syncer causing latency spikes
...I 9261-8i RAID controller (backed by
mfi(4)) and the database and WALs are on separate volumes, a RAID 6 and
a RAID 1 respectively. It has about 96GB of RAM installed.
What's happening is that the syncer tries to fsync a large database file
and goes to sleep in getpbuf() with the corresponding vnode lock held
and the following stack:
#3 0xffffffff805fceb5 in _sleep (ident=0xffffffff80ca8e20, lock=0xffffffff80d6bc20, priority=-2134554464, wmesg=0xffffffff80a4fe43 "wswbuf0", timo=0) at /d2/usr/src/sys/kern/kern_synch.c:234
#4 0xffffffff808780d5 in getpbuf (pfreecnt=0xffffffff80ca8e2...
2008 Jul 29
8
Upcoming ABI Breakage in RELENG_7
...baseline system (those will be patched by the MFC) which deal with
advisory locks. As such the impact should not cause many people
problems.
The work that will be MFCed fixes issues with filesystem advisory locks,
and moves the advisory locks list from filesystem-private data
structures into the vnode structure.
The MFC will be done by Kostantin Belousov some time this coming Friday
(August 1st, 2008) if you have concerns and want to watch for it.
Thanks.
--
Ken Smith
- From there to here, from here to | kensmith@cse.buffalo.edu
th...
2007 Jul 10
17
all open files
Hi All,
Is there a simple way to list all currently open file descriptors ?
TIA..
Regards,
Venkat
--
This message posted from opensolaris.org
2017 Dec 20
2
Question about : lprofValueProfNodes
...19, 2017, at 10:26 AM, Moshtaghi, Alireza via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
Hi
This array is defined in compiler-rt: InstrProfilingValue.c but I can’t find where it is used?
It's used in allocateOneNode(). Incrementing the current vnode pointer gives a fresh node (possibly backed by the shared pool).
And the comment on it does not say much about why we need it either.
It's used to avoid calling malloc(), which David (CC'd) found to be a performance improvement.
best,
vedant
Can someone explain why we need this and w...