[PATCHv2 0/4] blk_execute_rq{_nowait} cleanup part1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After checking the request_queue argument of funtion blk_execute_rq_nowait, I
now added three more patches, one to remove the same argument from
blk_execute_rq and other two to change the at_head argument from
blk_exeute_rq_{nowait} from int to bool.

Original patch can be checked here[1].

After this patch gets merged, my plan is to analyse the usage the gendisk
argument, is being set as NULL but the majority of callers.

[1]: https://lkml.org/lkml/2019/8/6/31

Marcos Paulo de Souza (4):
  block: Remove request_queue argument from blk_execute_rq_nowait
  fs/block/drivers: Remove request_queue argument from blk_execute_rq
  block: Change at_head argument of blk_execute_rq_nowait to bool
  block: Change at_head argument of blk_execute_rq to bool

 block/blk-exec.c                   | 12 ++++--------
 block/bsg.c                        |  2 +-
 block/scsi_ioctl.c                 | 10 +++++-----
 drivers/block/mtip32xx/mtip32xx.c  |  2 +-
 drivers/block/paride/pd.c          |  2 +-
 drivers/block/pktcdvd.c            |  2 +-
 drivers/block/sx8.c                |  4 ++--
 drivers/block/virtio_blk.c         |  2 +-
 drivers/cdrom/cdrom.c              |  2 +-
 drivers/ide/ide-atapi.c            |  2 +-
 drivers/ide/ide-cd.c               |  2 +-
 drivers/ide/ide-cd_ioctl.c         |  2 +-
 drivers/ide/ide-devsets.c          |  2 +-
 drivers/ide/ide-disk.c             |  2 +-
 drivers/ide/ide-ioctls.c           |  4 ++--
 drivers/ide/ide-park.c             |  2 +-
 drivers/ide/ide-pm.c               |  4 ++--
 drivers/ide/ide-tape.c             |  2 +-
 drivers/ide/ide-taskfile.c         |  2 +-
 drivers/mmc/core/block.c           | 10 +++++-----
 drivers/nvme/host/core.c           | 18 +++++++++---------
 drivers/nvme/host/lightnvm.c       |  6 +++---
 drivers/nvme/host/nvme.h           |  2 +-
 drivers/nvme/host/pci.c            |  7 +++----
 drivers/scsi/scsi_error.c          |  2 +-
 drivers/scsi/scsi_lib.c            |  2 +-
 drivers/scsi/sg.c                  |  3 +--
 drivers/scsi/st.c                  |  2 +-
 drivers/target/target_core_pscsi.c |  5 ++---
 fs/nfsd/blocklayout.c              |  2 +-
 include/linux/blkdev.h             |  7 +++----
 31 files changed, 60 insertions(+), 68 deletions(-)

--
2.22.0




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux