Skip to content

Commit

Permalink
changed zfs_wrlog_data_max parameter to uint64_t
Browse files Browse the repository at this point in the history
  • Loading branch information
datacore-rm committed Mar 16, 2022
1 parent 2236f83 commit 45cce46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/sys/dsl_pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ struct dsl_deadlist;

extern uint64_t zfs_dirty_data_max;
extern uint64_t zfs_dirty_data_max_max;
extern unsigned long zfs_wrlog_data_max;
extern uint64_t zfs_wrlog_data_max;
extern int zfs_dirty_data_sync_percent;
extern int zfs_dirty_data_max_percent;
extern int zfs_dirty_data_max_max_percent;
Expand Down
2 changes: 1 addition & 1 deletion module/zfs/dsl_pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ int zfs_dirty_data_max_max_percent = 25;
* until log data is cleared out after txg sync.
* It only counts TX_WRITE log with WR_COPIED or WR_NEED_COPY.
*/
unsigned long zfs_wrlog_data_max = 0;
uint64_t zfs_wrlog_data_max = 0;

/*
* If there's at least this much dirty data (as a percentage of
Expand Down

0 comments on commit 45cce46

Please sign in to comment.