search for: b_false

Displaying 11 results from an estimated 11 matches for "b_false".

2007 May 09
5
Refactor zfs_zget()
Hi, Since almost all operations in the FUSE low-level API identify files by inode number, I''ve been using zfs_zget() to get the corresponding znode/vnode in order to call the corresponding VFS function in zfs_vnops.c. However, there are some cases when zfs_zget() behaves slightly different than I need: 1) If zp->z_unlinked != 0 then zfs_zget() returns ENOENT. I need it to return
2008 Dec 04
2
Round four: Re: code review req: 6750659 drti.o crashes app due to corrupt environment
I believe that I have incorporated all of the feedback given (thanks!). Changes since the 2008-11-16 version include: - ksh style & coding standards compliance in test script (Roland) - "dof_init_debug == B_FALSE" vs. "!dof_init_debug" (Adam) The updated webrev is at: http://cr.opensolaris.org/~mgerdts/6750659-2008-12-03/ -- Mike Gerdts http://mgerdts.blogspot.com/
2010 Jun 01
2
storing output data from a loop that has varying row numbers
...2) xdfrow2<-(33:64) xdfrow3<-(65:96) xdfrow4<-(97:128) xdfrow5<-(129:160) xdfrow6<-(161:192) xdfrow7<-(193:224) and so on.... xdf <- matrix(999, nrow=1024, ncol=7) xdf <- as.data.frame(xdf) NAM <- c("NAME","ID2","DAY","BEH", "B_FALSE", "B_TRUE","TOTAL") colnames(xdf)<-NAM I then use this matrix and then run the loop and assign the data to each of the xdfrows just doing +1 on each loop. (If that makes sense? Not really important, just trying to show that I do try and solve some of my own problems, al...
2010 Apr 21
2
HELP! zpool corrupted data
...NE gptid/ecdb408b-4bab-11df-8a83-0019d159e82b ONLINE mfsbsd# zpool import -f tank internal error: Illegal byte sequence Abort (core dumped) SunOS opensolaris 5.11 snv_134 i86pc i386 i86pc Solaris root at opensolaris:/# zpool import -nfFX -R /mnt tank Assertion failed: rn->rn_nozpool == B_FALSE, file ../common/libzfs_import.c, line 1078, function zpool_open_func Abort (core dumped) I don''t really need to get the server bootable again, but I do need to get the data off of one of the file systems. Any help would be greatly appreciated. Thanks, Clint -- This message posted from...
2008 Oct 02
0
Comments for squeue.c; part 2.
...if (!(sqp->sq_state & SQS_REENTER) && 716 (process_flag != SQ_FILL) && (sqp->sq_first == NULL) && 717 (sqp->sq_run == curthread) && (cnt == 1) && 718 (connp->conn_on_sqp == B_FALSE)) { How can it happen that sq_run != NULL && connp->conn_on_sqp == B_FALSE? 13. 630 if (connp->conn_sqp == sqp) { 631 SQUEUE_DBG_SET(sqp, interrupt, mp, proc, connp, 632 tag); ... This...
2011 Jan 10
0
L2ARC and prefetched data.
Hi. I can''t reach Brendan Gregg with this question (user unknown, he doesn''t work for Oracle anymore?), so I''m sending it here: FreeBSD users report much better performance and lower disk and CPU load when L2ARC also holds prefetched data (l2arc_noprefetch = B_FALSE). I was wondering what was the reason to avoid storing prefetched data on L2ARC vdevs by default. -- Pawel Jakub Dawidek http://www.wheelsystems.com pjd at FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes,...
2009 Apr 08
0
zpool history coredump
...ol/zpool_main.c:3337 #5 0x0805293f in pool_list_iter (zlp=0x4830e030, unavail=0, func=0x804ab30 <get_history_one>, data=0xbfbfac40) at /usr/src/cddl/sbin/zpool/../../../cddl/contrib/opensolaris/cmd/zpool/zpool_iter.c:165 #6 0x08052bc6 in for_each_pool (argc=0, argv=0xbfbfecc8, unavail=B_FALSE, proplist=0x0, func=0x804ab30 <get_history_one>, data=0xbfbfac40) at /usr/src/cddl/sbin/zpool/../../../cddl/contrib/opensolaris/cmd/zpool/zpool_iter.c:239 #7 0x0804a94a in zpool_do_history (argc=0, argv=0xbfbfecc4) at /usr/src/cddl/sbin/zpool/../../../cddl/contrib/opensolaris/cmd/zpoo...
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
.... All rights reserved. * Use is subject to license terms. */ +/* + * Copyright (c) 2012 by Delphix. All rights reserved. + */ + #ifndef _SYS_DMU_H #define _SYS_DMU_H @@ -31,6 +36,41 @@ * The DMU also interacts with the SPA. That interface is described in * dmu_spa.h. */ + +#define B_FALSE 0 +#define B_TRUE 1 + +#define DMU_OT_NEWTYPE 0x80 +#define DMU_OT_METADATA 0x40 +#define DMU_OT_BYTESWAP_MASK 0x3f + +#define DMU_OT(byteswap, metadata) \ + (DMU_OT_NEWTYPE | \ + ((metadata) ? DMU_OT_METADATA : 0) | \ + ((byteswap) & DMU_OT_BYTESWAP_MASK)) + +#define DMU_OT_IS_VALID(ot) (((ot)...
2012 Feb 04
2
zpool fails with panic in zio_ddt_free()
Hello all, I am not sure my original mail got through to the list (I haven''t received it back), so I attach it below. Anyhow, now I have a saved kernel crash dump of the system panicking when it tries to - I believe - deferred-release the corrupted deduped blocks which are no longer referenced by the userdata/blockpointer tree. As I previously wrote in my thread on unfixeable
2006 Jul 31
20
ZFS vs. Apple XRaid
Hello all, After setting up a Solaris 10 machine with ZFS as the new NFS server, I''m stumped by some serious performance problems. Here are the (admittedly long) details (also noted at http://www.netmeister.org/blog/): The machine in question is a dual-amd64 box with 2GB RAM and two broadcom gigabit NICs. The OS is Solaris 10 6/06 and the filesystem consists of a single zpool stripe
2012 Sep 03
1
[GIT-PULL] XFS filesystem driver
...the GNU General Public License + * along with this program; if not, write the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ +#ifndef XFS_TYPES_H_ +#define XFS_TYPES_H_ + +#include <stddef.h> + +#include <sys/types.h> + +typedef enum { B_FALSE,B_TRUE } boolean_t; +typedef uint32_t prid_t; /* project ID */ +typedef uint32_t inst_t; /* an instruction */ + +typedef int64_t xfs_off_t; /* <file offset> type */ +typedef unsigned long long xfs_ino_t; /* <inode> type */ +typedef int64_t xfs_daddr_t; /* <disk address> ty...