Hi! I met a problem of dm-thin: a thin-pool has no volumes but its
nr_free_blocks_data is not zero. I guess the scene of this problem like:
a. create a thin volume thin01, size is 10GB;
b. write 10GB to thin01;
c. create a snapshot thin01-snap, orig is thin01;
d. write 10GB to thin01-snap;
e. for
On Wed, Jun 20, 2018 at 10:51:17AM -0400, Mike Snitzer wrote:
>
> On Wed, Jun 20 2018 at 1:03pm -0400,
> monty wrote:
>
> >
> > On Tue, Jun 19, 2018 at 11:00:32AM -0400, Mike Snitzer wrote:
> > >
> > > On Tue, Jun 19 2018 at 10:43am -0400,
> &
On Tue, Jun 19, 2018 at 11:00:32AM -0400, Mike Snitzer wrote:
>
> On Tue, Jun 19 2018 at 10:43am -0400,
> Joe Thornber wrote:
>
> > On Tue, Jun 19, 2018 at 09:11:06AM -0400, Mike Snitzer wrote:
> > > On Mon, May 21 2018 at 8:53pm -0400,
> > > Monty Pave
other blocks but we cannot guarantee that superblock
write completely early than other blocks.
So, We need to commit other metadata blocks before change superblock.
Signed-off-by: Monty Pavel
---
drivers/md/dm-thin-metadata.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
During my test(create thin-volume and do power loss test), thin-provision
report errors:
device-mapper: btree spine: node_check failed: csum 3763734755 !=
wanted 3763708718
device-mapper: block manager: btree_node validator check failed for
block 62775
device-mapper: tabl
y=127), we can not find 127 in btree.
On Mon, Dec 18, 2017 at 05:34:09PM +, Joe Thornber wrote:
>
> On Mon, Dec 18, 2017 at 05:13:08PM +0000, Joe Thornber wrote:
> > Hi Monty,
> >
> > On Mon, Dec 18, 2017 at 04:27:58PM -0500, monty wrote:
> > > Subject: [PATCH] p
Signed-off-by: monty
---
drivers/md/persistent-data/dm-btree.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/md/persistent-data/dm-btree.c
b/drivers/md/persistent-data/dm-btree.c
index f21ce6a..25ce5ec 100644
--- a/drivers/md/persistent-data/dm-btree.c
+++ b
eed do is to ensure pool_target registering ops
is the last ops in dm_thin_init.
So does the dm-cache, dm-mpath, and dm-snap. Thanks for Alasdair G
Kergon reminding me.
Signed-off-by: monty
Signed-off-by: Alasdair G Kergon
---
drivers/md/dm-cache-target.c | 12 +-
driv