Message ID | 20210228055645.22253-1-chaitanya.kulkarni@wdc.com (mailing list archive) |
---|---|
Headers | show |
Series | target: code cleanup | expand |
On 2/27/21 11:56 PM, Chaitanya Kulkarni wrote: > Hi, > > This removes unused macros, various memset, extra variable in the > target/iblock for bio get and fixes type mismatch for the same. > > The unused macros warning are found at compile time and they are > documented in each patch commit log. For memset removal, there are no > warnings. > > First four patches are target_core_iblock.c cleanup. The next six > patches are removal of the unused macros followed by elevan patches to > remove the memset for local array buffers. The last patch is for > removing the duplicate memset to initialize the buffer to 0xff. > > I've tested this patch series with creating target bdev backend with > loop back transport, fio verification job seems to work fine. > > Any feedback is welcome. > > This is generated on today's linux-block for-next. > The patches look ok to me. Reviewed-by: Mike Christie <michael.christie@oracle.com>
On 2/28/21 12:14, michael.christie@oracle.com wrote: > On 2/27/21 11:56 PM, Chaitanya Kulkarni wrote: >> Any feedback is welcome. >> >> This is generated on today's linux-block for-next. >> > The patches look ok to me. > > Reviewed-by: Mike Christie <michael.christie@oracle.com> > Thanks for the review tag Mike.
Bart, Martin, Hannes, On 2/27/21 21:56, Chaitanya Kulkarni wrote: > Hi, > > This removes unused macros, various memset, extra variable in the > target/iblock for bio get and fixes type mismatch for the same. > > The unused macros warning are found at compile time and they are > documented in each patch commit log. For memset removal, there are no > warnings. > > First four patches are target_core_iblock.c cleanup. The next six > patches are removal of the unused macros followed by elevan patches to > remove the memset for local array buffers. The last patch is for > removing the duplicate memset to initialize the buffer to 0xff. > > I've tested this patch series with creating target bdev backend with > loop back transport, fio verification job seems to work fine. > > Any feedback is welcome. > > This is generated on today's linux-block for-next. > > -ck any comments on this ?
On 3/8/21 9:04 PM, Chaitanya Kulkarni wrote: > Bart, Martin, Hannes, > > On 2/27/21 21:56, Chaitanya Kulkarni wrote: >> Hi, >> >> This removes unused macros, various memset, extra variable in the >> target/iblock for bio get and fixes type mismatch for the same. >> >> The unused macros warning are found at compile time and they are >> documented in each patch commit log. For memset removal, there are no >> warnings. >> >> First four patches are target_core_iblock.c cleanup. The next six >> patches are removal of the unused macros followed by elevan patches to >> remove the memset for local array buffers. The last patch is for >> removing the duplicate memset to initialize the buffer to 0xff. >> >> I've tested this patch series with creating target bdev backend with >> loop back transport, fio verification job seems to work fine. >> >> Any feedback is welcome. >> >> This is generated on today's linux-block for-next. >> >> -ck > > any comments on this ? Although I'm not sure all patches in this series are useful, the patches in this series look good to me. Bart.
Chaitanya, > This removes unused macros, various memset, extra variable in the > target/iblock for bio get and fixes type mismatch for the same. Applied to 5.13/scsi-staging, thanks!
On Sat, 27 Feb 2021 21:56:22 -0800, Chaitanya Kulkarni wrote: > This removes unused macros, various memset, extra variable in the > target/iblock for bio get and fixes type mismatch for the same. > > The unused macros warning are found at compile time and they are > documented in each patch commit log. For memset removal, there are no > warnings. > > [...] Applied to 5.13/scsi-queue, thanks! [01/23] target/iblock: remove an extra argument https://git.kernel.org/mkp/scsi/c/bc9e0e366fce [02/23] target/iblock: trim down line longer than 80 char https://git.kernel.org/mkp/scsi/c/a2c6c6a3b1ff [03/23] target/iblock: fix the type of the logs_per_phys https://git.kernel.org/mkp/scsi/c/c151eddbef7e [04/23] targe/pscsi: fix the warning in pscsi_complete_cmd https://git.kernel.org/mkp/scsi/c/fd48c056a32e [05/23] target/sbc: get rid of the warning in cmp & write https://git.kernel.org/mkp/scsi/c/5cfb5b0258a0 [06/23] target/pscsi: remove unsed macro ISPRINT https://git.kernel.org/mkp/scsi/c/2c958a8c1f15 [07/23] target/stat: remove unsed macro ISPRINT https://git.kernel.org/mkp/scsi/c/c3a27351d6db [08/23] target/stat: remove unsed macro NONE https://git.kernel.org/mkp/scsi/c/c3a27351d6db [09/23] target/stat: remove unsed macro https://git.kernel.org/mkp/scsi/c/fdc1339a421d [10/23] target/iscsi: remove unsed macro TEXT_LEN https://git.kernel.org/mkp/scsi/c/91ce84a3d789 [11/23] target/iscsi: remove unsed macro PRINT_BUF https://git.kernel.org/mkp/scsi/c/c4d81e7c53e7 [12/23] target/iscsi: remove the memset with declare-init https://git.kernel.org/mkp/scsi/c/c22659fbb98b [13/23] target/configfs: remove the memset with declare-init https://git.kernel.org/mkp/scsi/c/2d4e2daf4fed [14/23] target/configfs: remove the memset with declare-init https://git.kernel.org/mkp/scsi/c/2d4e2daf4fed [15/23] target/configfs: remove the memset with declare-init https://git.kernel.org/mkp/scsi/c/2d4e2daf4fed [16/23] target/configfs: remove the memset with declare-init https://git.kernel.org/mkp/scsi/c/2d4e2daf4fed [17/23] target/configfs: remove the memset with declare-init https://git.kernel.org/mkp/scsi/c/2d4e2daf4fed [18/23] target/configfs: remove the memset with declare-init https://git.kernel.org/mkp/scsi/c/2d4e2daf4fed [19/23] target/configfs: remove the memset with declare-init https://git.kernel.org/mkp/scsi/c/2d4e2daf4fed [20/23] target/pr: remove the memset with declare-init https://git.kernel.org/mkp/scsi/c/4db6dfe62c5f [21/23] target/pr: remove the memset with declare-init https://git.kernel.org/mkp/scsi/c/4db6dfe62c5f [22/23] target/pr: remove the memset with declare-init https://git.kernel.org/mkp/scsi/c/4db6dfe62c5f [23/23] target/core: don't duplicate memset 0xff https://git.kernel.org/mkp/scsi/c/4524a0b15902