##############################################################################
# File based on 2.6.27
##############################################################################

#git-update.patch

##############################################################################
# Upstream changes since release
##############################################################################

git-update.patch

##############################################################################
# BASE v2.6.27-7464-g332edc2
##############################################################################

##############################################################################
# Upstream
##############################################################################

# 3 patches upstream 2008/10/01
#dm-always-allow-one-page-in-dm_merge_bvec.patch
#dm-cope-with-access-beyond-end-of-device-in-dm_merge_bvec.patch
#dm-mpath-add-missing-path-switching-locking.patch

##18 patches sent upstream 2008/10/10 for 2.6.28
## Minor fixes
#dm-mpath-use-more-error-codes.patch
#dm-mpath-remove-is_active-from-struct-dm_path.patch
#dm-raid1-kcopyd-should-stop-on-error-if-errors-handled.patch
#dm-exception-store-introduce-area_location-function.patch
#dm-exception-store-use-chunk_t-for_areas.patch

## Fix async crypt bio splitting
#dm-crypt-tidy-inc-pending.patch
#dm-crypt-tidy-crypt-alloc.patch
#dm-crypt-tidy-write-loop-pending.patch
#dm-crypt-remove-inc_pending-from-write_io_submit.patch
#dm-crypt-move-dec_pending-on-error-into-write_io_submit.patch
#dm-crypt-fix-async-inc_pending.patch
#dm-crypt-tidy-ctx-pending.patch
#dm-crypt-avoid-unnecessary-wait-when-splitting-bio.patch

## Target header cleanup
#dm-export-struct-dm_dev.patch
#dm-publish-dm_get_mapinfo.patch
#dm-publish-dm_table_unplug_all.patch
#dm-publish-dm_vcalloc.patch

## Conflicts with dm-export-struct-dm_dev.patch above
#dm-detect-lost-queue.patch

## 14 patches sent upstream 2008/10/21
#dm-kcopyd-avoid-queue-shuffle.patch
#
## Snapshot fixes
#dm-snapshot-fix-primary_pe-race.patch
#dm-snapshot-drop-unused-last_percent.patch
#dm-exception-store-refactor-zero_area.patch
#dm-exception-store-fix-misordered-writes.patch
#
## Remove dm.h from targets
#dm-publish-array_too_big.patch
#dm-remove-dm-header-from-targets.patch
#
## Fix async crypt bio splitting
#dm-crypt-tidy-sector.patch
#dm-crypt-fix-async-split.patch
#dm-crypt-remove-waitqueue.patch
#
#dm-mark-split-bio-as-cloned.patch
#
#dm-raid1-separate-region_hash-interface-part1.patch
#
#dm-remove-unused-flush_all.patch
#dm-tidy-local_init.patch

##############################################################################
# Patches already included in -mm from other sources
##############################################################################

##############################################################################
# This section of patches gets imported into -mm.
#
# MM_PATCHES_START
##############################################################################

##############################################################################
# This section of patches gets imported into linux-next.
#
# NEXT_PATCHES_START
##############################################################################

##############################################################################
# NEXT_PATCHES_END
##############################################################################

# Support integrity profiles
dm-add-integrity-support.patch

##############################################################################
# MM_PATCHES_END
##############################################################################

##############################################################################
# Patches from other sources included in -mm below the dm section
##############################################################################

##############################################################################
# Marker corresponding to end of -mm tree.
##############################################################################

mm

# An attempt to get UML to work with dm.
uml-fixes.patch

##############################################################################
# May need more work or testing, but close to being ready.
##############################################################################

# Yet more for 2.6.28 else -mm for 2.6.29

# Under review
dm-support-barriers-on-simple-devices.patch
dm-raid1-separate-region_hash-interface-part2.patch

# Don't think we want the next one
dm-raid1-increase-dm-io-pages.patch

#dm-raid45-to-be-split-old.patch
dm-raid45-to-be-split.patch

# Also request-based mpath

#######################

# Clustered mirror
dm-raid1-add-is_remote_recovering-hook-for-clusters.patch
dm-raid1-add-clustering.patch

# Will be needed by new replicator module
dm-export-dm_disk.patch

# An alternative to loop 
dm-loop.patch

# Unreviewed
dm-add-band-target.patch

dm-delay-unplug-queue.patch

# Needs more review 
dm-mpath-add-alua.patch

# Needs more thought: Should any of these be per-device not per-target?
dm-use-singlethread-workqueues.patch

# Bio split patches for 2.6.22 regressions - further changes still necessary.
dm-change-clone-bi_private-pointer-during-cleanup.patch
dm-split-bios-into-only-two-pieces.patch
dm-remove-struct-clone_info.patch
dm-tidy-io-initialisation-functions.patch
dm-handle-clone-reprocessing.patch

##############################################################################
# Under review - only try the remaining patches if you know what you're doing!
# Some don't even compile.
##############################################################################

# Need integrating and cleaning up
dm-memcache.patch
dm-extract-region_hash.patch
dm-iostats.patch
dm-throttle.patch

# Doesn't fix this properly yet
dm-snapshot-invalidate-from-workqueue.patch

# Won't be submitted - different solution being worked on in scsi
bio-sense-data.patch
dm-mpath-hw-handler-sense-data.patch

# Unfinished
dm-kcopyd-add-async-destruction-option.patch
dm-snapshot-release-memory-if-invalid.patch

# Awaiting a thorough review
dm-mpath-pg_timeout.patch

# Needs extracting from earlier version lower down
dm-snapshot-hold-primary_pe-reference.patch


dm-raid1-mempool-bug-workaround-reversion.patch

dm-raid1-read-balancing.patch

dm-userspace.patch

dm-mpath-default-to-scsi-err-handler.patch

# Needs solving a different way
dm-snapshot-chunksize-fix.patch

# Needs further tidying.  Add rate-limiting to messages?
dm-mpath-improve-err-mesgs.patch

# For testing: tidy, enhance & submit upstream
dm-flakey.patch

# Need re-working to take account of other changes made since.
dm-snapshot-fix-origin-writes.patch
dm-snapshot-tidy-snapshot_map-original.patch
dm-snapshot-add-workqueue-original.patch
dm-snapshot-track-snapshot-read-old.patch