[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190109053127.8128-1-yehs2007@zoho.com>
Date: Wed, 9 Jan 2019 13:31:23 +0800
From: Huaisheng Ye <yehs2007@...o.com>
To: snitzer@...hat.com, agk@...hat.com
Cc: dan.j.williams@...el.com, hch@....de, jack@...e.cz, corbet@....net,
dm-devel@...hat.com, linux-kernel@...r.kernel.org,
linux-nvdimm@...ts.01.org, linux-doc@...r.kernel.org,
chengnt@...ovo.com, Huaisheng Ye <yehs1@...ovo.com>
Subject: [RFC PATCH v2 0/4] add parameter for pmem cache device init
From: Huaisheng Ye <yehs1@...ovo.com>
This patch set could be used for dm-writecache when use persistent
memory as cache data device.
Patch 1 and 2 go towards removing unused parameter and codes which
actually doesn't really work.
Patch 3 and 4 are targeted at solving problem fn ctr failed to work
due to invalid magic or version, which is caused by the super block
of pmem has messy data stored.
Changes Since v1:
- add optional parameter reinit to avoid invalid magic or
version.
[1]: https://lkml.org/lkml/2019/1/3/43
Huaisheng Ye (4):
dm-writecache: remove unused size to writecache_flush_region
dm-writecache: get rid of memory_data flush to writecache_flush_entry
dm-writecache: expand pmem_reinit for struct dm_writecache
Documentation/device-mapper: add optional parameter reinit
Documentation/device-mapper/writecache.txt | 4 ++++
drivers/md/dm-writecache.c | 19 +++++++++++--------
2 files changed, 15 insertions(+), 8 deletions(-)
--
1.8.3.1
Powered by blists - more mailing lists