[dm-devel] Revert "dm space maps: don't reset space map allocation cursor when committing"

luomeng luomeng12 at huawei.com
Tue Mar 1 14:07:59 UTC 2022


Because thin-pool is storage over-commitment, one of the following 
scenarios exists: constantly create and delete file, then the search 
doesn't hit the end of the metadata device, but ramdisk hits the end 
(not support discard). So the cursor doesn't reset.

在 2022/2/28 23:37, Mike Snitzer 写道:
> What you're saying doesn't make any sense.  Especially when you
> consider this last part of the commit message:
> "Fix these issues by leaving the cursor alone, only resetting when the
>   search hits the end of the metadata device."





More information about the dm-devel mailing list