##############################################################################
# File based on 2.6.26
##############################################################################

#git-update.patch

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

git-update.patch

##############################################################################
# BASE v2.6.26-5752-g93ded9b
##############################################################################

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

# dm-crypt-use-cond_resched.patch
# dm-md-merge_bvec_fn-with-separate-bdev-and-sector.patch
# dm-mpath-fix-scsi_dh-config.patch

# Minor fixes and cleanups
# dm-mpath-free-path-selector-on-invalid-args.patch
# dm-log-make-dm_dirty_log-init-and-exit-static.patch
# dm-io-remove-struct-padding.patch
# dm-mpath-return-parameter-error.patch
# dm-mpath-fix-test-for-reinstate_path.patch


# New attempt to fix snapshots
# dm-snapshot-track-snapshot-reads.patch
# dm-snapshot-fix-race-during-exception-creation.patch
# dm-snapshot-use-per-device-mempools.patch

# An attempt to support larger bios for better performance with dm over md 
# dm-introduce-merge_bvec_fn.patch
# dm-linear-add-merge.patch
# dm-table-remove-merge_bvec-sector-restriction.patch
# dm-crypt-add-merge.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
##############################################################################

# A second batch for 2.6.27
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

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

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

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

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

mm

dm-exception-store-fix-misordered-writes.patch

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

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

# 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-fix-write-loop-pending.patch
dm-crypt-tidy-ctx-pending.patch
dm-crypt-add-split-param.patch
dm-crypt-tidy-sector.patch
dm-crypt-fix-async-split.patch
dm-crypt-remove-waitqueue.patch

# 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