[dm-devel] [PATCH 01/14] dm-zoned: add 'status' and 'message' callbacks
Hannes Reinecke
hare at suse.de
Fri May 8 18:25:07 UTC 2020
On 5/8/20 6:29 PM, Mike Snitzer wrote:
> On Fri, May 08 2020 at 5:03am -0400,
> Hannes Reinecke <hare at suse.de> wrote:
>
>> Add callbacks to supply information for 'dmsetup status'
>> and 'dmsetup info', and implement the message 'reclaim'
>> to start the reclaim worker.
>
> Same feedback from before:
> https://www.redhat.com/archives/dm-devel/2020-March/msg00189.html
>
> Who/What will use the 'reclaim' message? Shouldn't it be documented?
> Think the dmz_status changes should be split out from this reclaim
> message?
>
'reclaim' means that dm-zoned should start moving zones from the random
zones to the sequential zones to free up more random zones.
There's a threshold after which it'll start automatically, but this
allows you to start reclaim even if the threshold isn't reached.
You might be right, it should be documented.
(Where? In the code?)
As for splitting things off; yeah, I could; maybe I should if the
'reclaim' message turns out to be controversial...
Cheers,
Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
More information about the dm-devel
mailing list