01 Nov, 2011
1 commit
-
These files were getting the defines for EXPORT_SYMBOL because
device.h was including module.h. But we are going to put an
end to that. So add the proper export.h include now.Signed-off-by: Paul Gortmaker
11 Dec, 2009
3 commits
-
Store the reference to the snapshot cow device in the core snapshot
code instead of each exception store. It can be accessed through the
new function dm_snap_cow(). Exception stores should each now maintain a
reference to their parent snapshot struct.This is cleaner and makes part of the forthcoming snapshot merge code simpler.
Signed-off-by: Mike Snitzer
Signed-off-by: Alasdair G Kergon
Reviewed-by: Jonathan Brassow
Cc: Mikulas Patocka -
Add number of sectors used by metadata to the end of the snapshot's status
line.Renamed dm_exception_store_type's 'fraction_full' to 'usage'. Renamed
arguments to be clearer about what is being returned. Also added
'metadata_sectors'.Signed-off-by: Mike Snitzer
Signed-off-by: Alasdair G Kergon -
The exception structure is not necessarily just a snapshot
element (especially after we pull it out of dm-snap.c).Renaming appropriately.
Signed-off-by: Jonathan Brassow
Reviewed-by: Mike Snitzer
Signed-off-by: Alasdair G Kergon
03 Apr, 2009
6 commits
-
Let the exception store types print out their status through
the new API, rather than having the snapshot code do it.Adjust the buffer position to allow for the preceding DMEMIT in the
arguments to type->status().Signed-off-by: Jonathan Brassow
Signed-off-by: Alasdair G Kergon -
Move useful functions out of dm-snap.h and stop using dm-snap.h.
Signed-off-by: Jonathan Brassow
Signed-off-by: Alasdair G Kergon -
Move COW device from snapshot to exception store.
Signed-off-by: Jonathan Brassow
Signed-off-by: Alasdair G Kergon -
Move chunk fields from snapshot to exception store.
Signed-off-by: Jonathan Brassow
Signed-off-by: Alasdair G Kergon -
Move exception stores into a registry.
Signed-off-by: Jonathan Brassow
Signed-off-by: Alasdair G Kergon -
Introduce struct dm_exception_store_type.
Signed-off-by: Jonathan Brassow
Signed-off-by: Alasdair G Kergon
06 Jan, 2009
2 commits
-
Supply dm_add_exception as a callback to the read_metadata function.
Add a status function ready for a later patch and name the functions
consistently.Signed-off-by: Jonathan Brassow
Signed-off-by: Alasdair G Kergon -
Move the existing snapshot exception store implementations out into
separate files. Later patches will place these behind a new
interface in preparation for alternative implementations.Signed-off-by: Alasdair G Kergon