Displaying 3 results from an estimated 3 matches for "maxnamelen".
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...--- a/tools/libfsimage/zfs/fsi_zfs.h Thu Oct 24 22:46:20 2013 +0100
+++ b/tools/libfsimage/zfs/fsi_zfs.h Sat Oct 26 20:03:06 2013 +0400
@@ -36,6 +36,8 @@
/* Boot signature related defines for the findroot command */
#define BOOTSIGN_DIR "/boot/grub/bootsign"
+#define BOOTSIGN_ARGLEN (MAXNAMELEN + 10) /* (<sign>,0,d) */
+#define BOOTSIGN_LEN (sizeof (BOOTSIGN_DIR) + 1 + BOOTSIGN_ARGLEN)
#define BOOTSIGN_BACKUP "/etc/bootsign"
/* Maybe redirect memory requests through grub_scratch_mem. */
@@ -60,6 +62,7 @@
#define grub_strstr strstr
#define grub_strlen strlen
#define...
2007 Jul 23
12
GRUB, zfs-root + Xen: Error 16: Inconsistent filesystem structure
Hi Lin,
In addition to bug 6541114...
Bug ID 6541114
Synopsis GRUB/ZFS fails to load files from a default compressed (lzjb) root
... I found yet another way to get the "Error 16: Inconsistent filesystem
structure" from GRUB. This time when trying to boot a Xen Dom0 from a
zfs bootfs
Synopsis: grub/zfs-root: cannot boot xen from a zfs root
2012 Sep 03
1
[GIT-PULL] XFS filesystem driver
...e MAXEXTLEN ((xfs_extlen_t)0x001fffff) /* 21 bits */
+#define MAXEXTNUM ((xfs_extnum_t)0x7fffffff) /* signed int */
+#define MAXAEXTNUM ((xfs_aextnum_t)0x7fff) /* signed short */
+
+/*
+ * Min numbers of data/attr fork btree root pointers.
+ */
+#define MINDBTPTRS 3
+#define MINABTPTRS 2
+
+/*
+ * MAXNAMELEN is the length (including the terminating null) of
+ * the longest permissible file (component) name.
+ */
+#define MAXNAMELEN 256
+
+typedef enum {
+ XFS_LOOKUP_EQi, XFS_LOOKUP_LEi, XFS_LOOKUP_GEi
+} xfs_lookup_t;
+
+typedef enum {
+ XFS_BTNUM_BNOi, XFS_BTNUM_CNTi, XFS_BTNUM_BMAPi, XFS_BTNUM_INOi,...