• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/

Lines Matching defs:snapshots

26 #define DM_MSG_PREFIX "snapshots"
71 /* List of snapshots per Origin */
202 * Hash table mapping origin volumes to lists of snapshots and
284 /* List of snapshots for this origin */
285 struct list_head snapshots;
350 * Returns number of snapshots registered using the supplied cow device, plus:
377 list_for_each_entry(s, &o->snapshots, list) {
454 list_for_each_entry(l, &o->snapshots, list)
494 INIT_LIST_HEAD(&o->snapshots);
531 if (o && list_empty(&o->snapshots)) {
712 * Return a minimum chunk size of all snapshots that have the specified origin.
713 * Return zero if the origin has no snapshots.
721 list_for_each_entry(snap, &o->snapshots, list)
956 * Reallocate any exceptions needed in other snapshots then
1164 /* Add snapshot to the list of snapshots for this origin */
1597 /* Full snapshots are not usable */
1675 * exceptions in other snapshots and not in the one that is being
1680 * which in turn might generate exceptions in other snapshots.
1705 /* Full merging snapshots are redirected to the origin */
1931 static int __origin_write(struct list_head *snapshots, sector_t sector,
1942 /* Do all the snapshots on this origin */
1943 list_for_each_entry (snap, snapshots, list) {
1953 /* Only deal with valid and active snapshots */
1962 * Remember, different snapshots can have
2052 r = __origin_write(&o->snapshots, bio->bi_sector, bio);
2059 * Trigger exceptions in all non-merging snapshots.
2063 * chunks in other snapshots.
2065 * We scan all the overlapping exceptions in the other snapshots.
2085 if (__origin_write(&o->snapshots, sector + n, NULL) ==
2139 /* Only tell snapshots if this is a write */
2144 * Set the target "split_io" field to the minimum of all the snapshots'