patch-2.4.7 linux/include/linux/lvm.h
Next file: linux/include/linux/meye.h
Previous file: linux/include/linux/locks.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Jul 11 16:35:37 2001
- Orig file:
v2.4.6/linux/include/linux/lvm.h
- Orig date:
Fri Feb 16 16:06:17 2001
diff -u --recursive --new-file v2.4.6/linux/include/linux/lvm.h linux/include/linux/lvm.h
@@ -299,7 +299,7 @@
#define LVM_SNAPSHOT_MAX_CHUNK 1024 /* 1024 KB */
#define LVM_SNAPSHOT_DEF_CHUNK 64 /* 64 KB */
-#define LVM_SNAPSHOT_MIN_CHUNK 1 /* 1 KB */
+#define LVM_SNAPSHOT_MIN_CHUNK (PAGE_SIZE/1024) /* 4 or 8 KB */
#define UNDEF -1
#define FALSE 0
@@ -585,7 +585,7 @@
} le_remap_req_t;
typedef struct lv_bmap {
- ulong lv_block;
+ uint32_t lv_block;
dev_t lv_dev;
} lv_bmap_t;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)