- Changed FILE_EXTENT to NORMAL_EXTENT and HLINK_EXTENT to SMALL_EXTENT.
authorWayne Davison <wayned@samba.org>
Tue, 29 May 2007 04:19:44 +0000 (04:19 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 29 May 2007 04:19:44 +0000 (04:19 +0000)
- Added a pool_boundary variable to struct file_list.

rsync.h

diff --git a/rsync.h b/rsync.h
index 62663e2042b57a0744050e80236db380bf74201b..2401d8f9698e802d158460e0211223e23690ae76 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -665,8 +665,8 @@ extern int preserve_xattrs;
  * (when they happen). Smaller sizes increase the chance of
  * freed allocations freeing whole extents.
  */
-#define FILE_EXTENT    (256 * 1024)
-#define HLINK_EXTENT   (128 * 1024)
+#define NORMAL_EXTENT  (256 * 1024)
+#define SMALL_EXTENT   (128 * 1024)
 
 #define FLIST_TEMP     (1<<1)
 
@@ -674,6 +674,7 @@ struct file_list {
        struct file_list *next, *prev;
        struct file_struct **files, **sorted;
        alloc_pool_t file_pool;
+       void *pool_boundary;
        int count, malloced;
        int low, high; /* 0-relative index values excluding empties */
        int ndx_start; /* the start offset for inc_recurse mode */