]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
jbd2: add COW fields to struct jbd2_journal_handle
authorAmir Goldstein <amir73il@gmail.com>
Mon, 21 Mar 2011 01:13:43 +0000 (21:13 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 21 Mar 2011 01:13:43 +0000 (21:13 -0400)
commit93737456d68ddcb86232f669b83da673dd12e351
tree564feaa33d36c5e06ad200c5225382ff0afd5249
parentc2cc7028e41c76e44b6e247c4b495c7523b23c87
jbd2: add COW fields to struct jbd2_journal_handle

Add fields needed for the copy-on-write ext4 development work.

The h_cowing flag is used by ext4 snapshots code to mark the task in
COWING state.

The h_XXX_credits fields are used to track buffer credits usage
(accounted by COW and non-COW operations).

The h_cow_XXX fields are used as per task debugging counters.

Merging this commit into mainline will allow users to test ext4
snapshots as a standalone module, without the need to patch and
install a development kernel.

Signed-off-by: Amir Goldstein <amir73il@users.sf.net>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
include/linux/jbd2.h