#define HFS_MAX_DEFERED_ALLOC (1024*1024)
-// 400 mb is a "big" file (i.e. one that when deleted
+// 32 gigs is a "big" file (i.e. one that when deleted
// would touch enough data that we should break it into
// multiple separate transactions
-#define HFS_BIGFILE_SIZE (400LL * 1024LL * 1024LL)
+#define HFS_BIGFILE_SIZE (32LL * 1024LL * 1024LL * 1024LL)
enum { kMDBSize = 512 }; /* Size of I/O transfer to read entire MDB */
lck_mtx_t hfs_mutex; /* protects access to hfsmount data */
void *hfs_freezing_proc; /* who froze the fs */
lck_rw_t hfs_insync; /* protects sync/freeze interaction */
-
- /* Resize variables: */
- u_int32_t hfs_resize_filesmoved;
- u_int32_t hfs_resize_totalfiles;
} hfsmount_t;
typedef hfsmount_t ExtendedVCB;
#define HFS_FRAGMENTED_FREESPACE 0x100
#define HFS_NEED_JNL_RESET 0x200
#define HFS_HAS_SPARSE_DEVICE 0x400
-#define HFS_RESIZE_IN_PROGRESS 0x800
#define HFS_MOUNT_LOCK(hfsmp, metadata) \
extern int hfs_extendfs(struct hfsmount *, u_int64_t, vfs_context_t);
extern int hfs_truncatefs(struct hfsmount *, u_int64_t, vfs_context_t);
-extern int hfs_resize_progress(struct hfsmount *, u_int32_t *);
extern int hfs_isallocated(struct hfsmount *, u_long, u_long);