Displaying 3 results from an estimated 3 matches for "cred_t".
2007 Aug 23
1
EOF broken on zvol raw devices?
...size".
I think we need something like this:
diff -r 26be3efbd346 usr/src/uts/common/fs/zfs/zvol.c
--- a/usr/src/uts/common/fs/zfs/zvol.c Thu Aug 23 00:53:10 2007 -0700
+++ b/usr/src/uts/common/fs/zfs/zvol.c Thu Aug 23 16:30:41 2007 +0200
@@ -904,6 +904,7 @@ zvol_read(dev_t dev, uio_t *uio, cred_t
{
minor_t minor = getminor(dev);
zvol_state_t *zv;
+ uint64_t volsize;
rl_t *rl;
int error = 0;
@@ -914,10 +915,16 @@ zvol_read(dev_t dev, uio_t *uio, cred_t
if (zv == NULL)
return (ENXIO);
+ volsize = zv->zv_volsize;
+...
2008 Oct 30
7
Is there any way to check if DTrace is running or a DTrace probe is enabled?
Hi,
I am adding DTrace probes within NFS v3 client. In my current
implementation, I use some tsd_*() functions and kmem_zalloc() function.
These functions might be heavy and affect the performance. I want to
call this function only when DTrace is running or the DTrace probes are
enable. So is there a way to check DTrace is running or DTrace probe is
enabled?
Regards,
Danhua
2006 Jan 02
16
DTrace provider for NFS
FYI, I posted a blog a few days ago about a DTrace provider for NFS
that is currently in
development:
http://blogs.sun.com/roller/page/samf?entry=a_dtrace_provider_for_nfs
Let''s discuss any questions, comments, etc. here. I also advertised
this on
nfs-discuss at opensolaris.org. Naturally, I would expect the
discussion here to
be more on the specifics of DTrace, and the