forked from tytso/ext4
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext4: snapshot control - init new snapshot
On snapshot create, a few special blocks (i.e., the super block and group descriptors) are pre-allocated and on snapshot take, they are copied under journal_lock_updates(). This is done to avoid the recursion that would be caused by COWing these blocks after the snapshot becomes active. Signed-off-by: Amir Goldstein <amir73il@users.sf.net> Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
- Loading branch information
Amir Goldstein
committed
Jun 6, 2011
1 parent
5f9554c
commit a6f9ab0
Showing
1 changed file
with
308 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters