Re: [dm-devel] [PATCH 1/5] libmultipath: move fast_io_fail defines to structs.h

2020-10-30 Thread Martin Wilck
On Fri, 2020-10-23 at 16:15 -0500, Benjamin Marzinski wrote: > Since fast_io_fail is part of the multipath struct, its symbolic > values > belong in structs.h. Also, make it an instance of a general enum, > which > will be used again in future patches, and change the set/print > functions > which

[dm-devel] [PATCH 1/5] libmultipath: move fast_io_fail defines to structs.h

2020-10-23 Thread Benjamin Marzinski
Since fast_io_fail is part of the multipath struct, its symbolic values belong in structs.h. Also, make it an instance of a general enum, which will be used again in future patches, and change the set/print functions which use it to use the general enum instead. Signed-off-by: Benjamin Marzinski