File s390-sectorsize4096.patch of Package device-mapper
Index: LVM2.2.02.98/thin-provisioning-tools-0.2.4/persistent-data/buffer.h
===================================================================
--- LVM2.2.02.98.orig/thin-provisioning-tools-0.2.4/persistent-data/buffer.h 2013-08-02 20:15:36.000000000 +0800
+++ LVM2.2.02.98/thin-provisioning-tools-0.2.4/persistent-data/buffer.h 2014-03-28 15:41:50.494566831 +0800
@@ -41,7 +41,7 @@ namespace persistent_data {
// guarantees.
//
// Alignment must be a power of two.
- template <uint32_t Size = DEFAULT_BUFFER_SIZE, uint32_t Alignment = 512>
+ template <uint32_t Size = DEFAULT_BUFFER_SIZE, uint32_t Alignment = 4096>
class buffer : private boost::noncopyable {
public:
BOOST_STATIC_ASSERT_MSG((Alignment > 1) & !(Alignment & (Alignment - 1)),