Searched hist:e999376f (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | delayed-inode.h | e999376f Fri Jun 17 15:14:09 CDT 2011 Chris Mason <chris.mason@oracle.com> Btrfs: avoid delayed metadata items during commits
Snapshot creation has two phases. One is the initial snapshot setup, and the second is done during commit, while nobody is allowed to modify the root we are snapshotting.
The delayed metadata insertion code can break that rule, it does a delayed inode update on the inode of the parent of the snapshot, and delayed directory item insertion.
This makes sure to run the pending delayed operations before we record the snapshot root, which avoids corruptions.
Signed-off-by: Chris Mason <chris.mason@oracle.com> e999376f Fri Jun 17 15:14:09 CDT 2011 Chris Mason <chris.mason@oracle.com> Btrfs: avoid delayed metadata items during commits Snapshot creation has two phases. One is the initial snapshot setup, and the second is done during commit, while nobody is allowed to modify the root we are snapshotting. The delayed metadata insertion code can break that rule, it does a delayed inode update on the inode of the parent of the snapshot, and delayed directory item insertion. This makes sure to run the pending delayed operations before we record the snapshot root, which avoids corruptions. Signed-off-by: Chris Mason <chris.mason@oracle.com>
|
H A D | delayed-inode.c | e999376f Fri Jun 17 15:14:09 CDT 2011 Chris Mason <chris.mason@oracle.com> Btrfs: avoid delayed metadata items during commits
Snapshot creation has two phases. One is the initial snapshot setup, and the second is done during commit, while nobody is allowed to modify the root we are snapshotting.
The delayed metadata insertion code can break that rule, it does a delayed inode update on the inode of the parent of the snapshot, and delayed directory item insertion.
This makes sure to run the pending delayed operations before we record the snapshot root, which avoids corruptions.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
|
H A D | transaction.c | e999376f Fri Jun 17 15:14:09 CDT 2011 Chris Mason <chris.mason@oracle.com> Btrfs: avoid delayed metadata items during commits
Snapshot creation has two phases. One is the initial snapshot setup, and the second is done during commit, while nobody is allowed to modify the root we are snapshotting.
The delayed metadata insertion code can break that rule, it does a delayed inode update on the inode of the parent of the snapshot, and delayed directory item insertion.
This makes sure to run the pending delayed operations before we record the snapshot root, which avoids corruptions.
Signed-off-by: Chris Mason <chris.mason@oracle.com> e999376f Fri Jun 17 15:14:09 CDT 2011 Chris Mason <chris.mason@oracle.com> Btrfs: avoid delayed metadata items during commits Snapshot creation has two phases. One is the initial snapshot setup, and the second is done during commit, while nobody is allowed to modify the root we are snapshotting. The delayed metadata insertion code can break that rule, it does a delayed inode update on the inode of the parent of the snapshot, and delayed directory item insertion. This makes sure to run the pending delayed operations before we record the snapshot root, which avoids corruptions. Signed-off-by: Chris Mason <chris.mason@oracle.com>
|