##############################################################################
# File based on v3.1-rc1
##############################################################################

##############################################################################
# Upstream changes since release
##############################################################################
git-update1.patch # v3.1-rc7
git-update2.patch # v3.1-rc9
git-update3.patch # v3.1-rc9-20-g3ee72ca
git-update4.patch # v3.1-rc10
git-update5.patch # v3.1
git-update6.patch # v3.1-5444-g37be944
git-update7.patch # v3.1-7178-g839d881
git-update8.patch # v3.1-7810-g094803e
git-update9.patch # v3.1-8907-g43672a0
git-update10.patch # v3.1-10325-g3155521
git-update11.patch # v3.1-10674-g94956ee
git-update12.patch # v3.2-rc6-182-gecefc36

##############################################################################
# Base against linux-next this cycle
##############################################################################

##############################################################################
# Marker corresponding to base
##############################################################################

base

##############################################################################
# References are to http://patchwork.kernel.org/patch//
# N.B. Patches and headers may have been modified since submission.
##############################################################################

##############################################################################
# 'git describe'
# BASE v3.2-rc6-182-gecefc36
##############################################################################

##############################################################################
# This section of patches gets imported into linux-next after the block tree.
# - Temporarily disabled: NEXT*BASE block 
# NEXT_PATCHES_START
##############################################################################

# Fixes

# # 4 patches sent to Linus for 3.1-rc10 2011/10/06
# dm-flakey-fix-corrupt_bio_byte-error-path.patch # 1036962
# dm-table-avoid-crash-if-integrity-profile-changes.patch # 1036872
# dm-raid-fix-write_mostly-arg-validation.patch # 1046572
# dm-crypt-always-disable-discard_zeroes_data.patch # 1047042

# Sent to Linus 2011/10/24 for 3.1
# dm-kcopyd-fix-job_pool-leak.patch

# 14 patches sent to Linus 2011/11/01 for 3.2-rc1
#dm-table-propagate-non-rotational-flag.patch # 821762
#dm-use-local-printk-ratelimit.patch # 1036162
#dm-remove-superfluous-smp_mb.patch # 1051722
#dm-kcopyd-add-dm_kcopyd_zero-to-zero-an-area.patch # 862702
#dm-table-add-singleton-feature.patch
#dm-table-add-always-writeable-feature.patch
#dm-table-add-immutable-feature.patch
#dm-export-dm-get-md.patch
#dm-add-bufio.patch
#dm-add-persistent-data-library.patch
##joe-update1.patch # folded in
#dm-add-thin-provisioning-target.patch
## dm-thin-change-status-line.patch # folded in
##joe-update2.patch # folded in
#dm-log-userspace-fix-comment-hyphens.patch
#dm-log-userspace-add-log-device-dependency.patch
#dm-raid-fix-device-status-indicator-when-array-initializing.patch

#dm-fix-module-export-includes.patch

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

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

next

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

##############################################################################
# This section of patches gets imported into -mm.
# (linux-next patches above get pulled in separately now.)
#
# MM_PATCHES_START
##############################################################################

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

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

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

mm

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

dm-block-sg_io-ioctls.patch

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

end


# Temporarily re-ordering/folding patches - then putting new version into linux-next shortly
# To send to Joe.  Already folded into above.
#joe-checkpatch-tidy1.patch
#joe-copyright.patch
#joe-kconfig.patch
#joe-thin-renamings.patch
#joe-thin-rename2.patch 
#joe-rename3.patch 
#joe-thin-reorder.patch
#joe-code-clean2.patch
#joe-remove-list_del.patch
#joe-split-thin_preresume.patch
#joe-bufio-move.patch
#joe-makefile-minus-bufio.patch
#joe-mike-bufio-update.patch
#joe-bufio-config.patch
#joe-adjust-status.patch
#joe-update-status-doc.patch
#joe-switch-to-blocks.patch
#joe-bufio-diff.patch
#joe-thin-flush.patch

#dm-limit-ioctl-size.patch

dm-add-zeroed-target.patch
dm-document-sysfs.patch
dm-table-export-singleton-target.patch

# Depends on agreement for exported symbol
dm-table-extend-device-name-lookups.patch # 101025

# older patches

dm-table-limit-max_segments-when-no-merge_bvec-fn.patch # 83666

dm-mpath-refactor-pg_init-trigger.patch # 76028

dm-raid1-clear-region_hash-on-suspend.patch # 62948


# replicator
v6-1-4-dm-replicator-documentation-and-module-registry.patch
v6-2-4-dm-replicator-replication-log-and-site-link-handler-interfaces-and-main-replicator-module.patch
v6-3-4-dm-replicator-ringbuffer-replication-log-handler.patch
v6-4-4-dm-replicator-blockdev-site-link-handler.patch

# multisnap
dm-multisnap-common.patch
dm-bufio.patch

dm-multisnap-mikulas-headers.patch
dm-multisnap-mikulas-alloc.patch
dm-multisnap-mikulas-blocks.patch
dm-multisnap-mikulas-btree.patch
dm-multisnap-mikulas-commit.patch
dm-multisnap-mikulas-delete.patch
dm-multisnap-mikulas-freelist.patch
dm-multisnap-mikulas-io.patch
dm-multisnap-mikulas-snaps.patch
dm-multisnap-mikulas-common.patch
dm-multisnap-mikulas-config.patch

dm-multisnap-daniel.patch


dm-snapshot-cleanup-style.patch

# Experimental
#dm-emulate-BLKRRPART-ioctl.patch

dm-region_hash-change-primes.patch

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

dm-add-ioband.patch

# raid45 - no longer compiles
dm-raid1-separate-region_hash-interface-part2-to-be-split-and-fixed.patch
dm-raid45-to-be-split.patch


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

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

# An alternative to loop 
dm-loop.patch

dm-delay-unplug-queue.patch

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

dm-tidy-io-initialisation-functions.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-iostats.patch
dm-throttle.patch

# Doesn't fix this properly yet
dm-snapshot-invalidate-from-workqueue.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

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

dm-raid1-read-balancing.patch

dm-userspace.patch

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