###############################################################
# agk's current patches
###############################################################
# For 2.6.32-rc4
# dm-log-fix-cn_ulog_callback-declaration.patch - Included via davem.
dm-log-userspace-fix-incorrect-luid-cast-in-userspace_ctr.patch
dm-snapshot-free-exception-store-on-init-failure.patch
dm-add-missing-del_gendisk-to-alloc_dev-error-path.patch
dm-dec_pending-needs-locking-to-save-error-value.patch
dm-snapshot-require-non-zero-chunk-size-by-end-of-ctr.patch
dm-snapshot-allow-chunk-size-to-be-less-than-page-size.patch
dm-exception-store-fix-failed-set_chunk_size-error-path.patch
dm-snapshot-lock-snapshot-while-supplying-status.patch
dm-snapshot-use-unsigned-integer-chunk-size.patch

# For 2.6.33-rc1
dm-ioctl-prefer-strlcpy-over-strncpy.patch
dm-snapshot-avoid-else-clause-in-persistent_read_metadata.patch
dm-snapshot-simplify-sector_to_chunk-expression.patch
dm-snapshot-abstract-minimum_chunk_size-fn.patch
dm-snapshot-consolidate-insert-exception-functions.patch
dm-snapshot-rename-dm_snap_exception-to-dm_exception.patch
dm-snapshot-rename-exception_table-to-dm_exception_table.patch
dm-snapshot-rename-exception-functions.patch
dm-snapshot-add-allocated-metadata-to-snapshot-status.patch
dm-snapshot-move-cow-ref-from-exception-store-to-snap-core.patch

# Full raid1 barrier support
dm-io-handle-empty-barriers.patch
dm-raid1-support-flush.patch
#3-8-raid1-barriers.patch
#4-8-raid1-barriers.patch
#5-8-raid1-barriers.patch
#6-8-raid1-barriers.patch
#7-8-raid1-barriers.patch
#8-8-raid1-barriers.patch

dm-region_hash-change-primes.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.
##############################################################################

dm-add-ioband.patch

#######################
# End of patches that apply cleanly and are under active review.
end

##############################################################################
# Modified patches
##############################################################################

# An alternative to loop
dm-loop.patch

dm-delay-unplug-queue.patch

##############################################################################
# Mikulas' patches
##############################################################################

# Avoid bio_endio recursion
avoid-endio-recursion.patch

# Limit irq nesting
limit-irq-nesting.patch

# Fix forgotten queue unplugs
dm-crypt-unplug-queue.patch

# ATY
mach-fix-colors.patch
mach-fbinfo-reads-fast.patch


# dm-raid1 race fixes
dm-raid1-initialize-bio-lists.patch
dm-raid1-hold-bio.patch
dm-raid1-use-hold.patch
dm-raid1-dont-optimize-for-failure-case.patch
dm-raid1-get-valid-mirror.patch
dm-raid1-hold-when-errors-handled.patch

# new snapshots
dm-multisnap-mikulas.patch
dm-multisnap-daniel.patch


dm-exception-store-hash-table-anomaly.patch

dm-snapshot-sort-snapshots-by-chunk-size.patch
#dm-exception-store-check-small-snapshot-device.patch

###############################################################
# PREPARITORY PATCHES FOR SNAPSHOT MERGING
###############################################################
dm-snapshot-rework-origin-write.patch
dm-snapshot-add-suspended-flag.patch
dm-snapshot-exception-handover.patch
dm-snapshot-revised-exception-handover.patch
dm-exception-store-dont-read-metadata-if-going-to-handover.patch

###############################################################
# SNAPSHOT MERGING
###############################################################
dm-exception-store-merge-methods.patch
dm-exception-store-merge-accounting.patch
dm-snapshot-target-merge.patch
dm-snapshot-target-merge-no-new-alloc.patch
dm-snapshot-no-more-merging-snapshots.patch
dm-snapshot-merge-process.patch
dm-snapshot-merge-interlock-writes.patch
dm-snapshot-merge-track-writes.patch
dm-snapshot-merge-make-exceptions-in-other-snapshots-when-merging.patch
dm-snapshot-merge-make-exceptions-in-other-snapshots-if-remapped-to-origin.patch
dm-snapshot-merge-redirect-to-origin-if-invalidated.patch
dm-snapshot-merge-use-larger-io-when-merging.patch

###############################################################
# Mikulas' clustering
###############################################################
dm-snapshot-remove-ksnapd.patch
dm-snapshot-move-locking-to-function.patch
dm-snapshot-count-exceptions-in-progress.patch
dm-cluster-locking.patch
dm-snapshot-clustered-lockspace-handle.patch
dm-snapshot-clustered-lockspace-uuid-argument.patch
dm-snapshot-clustered-locking.patch
dm-snapshot-persistent-prepare-for-reread-exceptions.patch
dm-snapshot-persistent-handle-area-io-in-thread.patch
dm-snapshot-clustered-reread-exceptions.patch
dm-snapshot-clustered-locking-optimize.patch