Re: [dm-devel] [PATCH 01/25] ѕd: split sd_setup_discard_cmnd

2017-04-05 Thread Martin K. Petersen
Christoph Hellwig writes: > Split sd_setup_discard_cmnd into one function per provisioning type. While > this creates some very slight duplication of boilerplate code it keeps the > code modular for additions of new provisioning types, and for reusing the > write same functions for

[dm-devel] [PATCH 01/25] ѕd: split sd_setup_discard_cmnd

2017-03-31 Thread Christoph Hellwig
Split sd_setup_discard_cmnd into one function per provisioning type. While this creates some very slight duplication of boilerplate code it keeps the code modular for additions of new provisioning types, and for reusing the write same functions for the upcoming scsi implementation of the Write