Commit 511cbce2 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

irq_poll: make blk-iopoll available outside the block layer



The new name is irq_poll as iopoll is already taken.  Better suggestions
welcome.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
parent a2dbb7b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -90,7 +90,7 @@ BLOCK_SOFTIRQ: Do all of the following:
	from being initiated from tasks that might run on the CPU to
	from being initiated from tasks that might run on the CPU to
	be de-jittered.  (It is OK to force this CPU offline and then
	be de-jittered.  (It is OK to force this CPU offline and then
	bring it back online before you start your application.)
	bring it back online before you start your application.)
BLOCK_IOPOLL_SOFTIRQ:  Do all of the following:
IRQ_POLL_SOFTIRQ:  Do all of the following:
1.	Force block-device interrupts onto some other CPU.
1.	Force block-device interrupts onto some other CPU.
2.	Initiate any block I/O and block-I/O polling on other CPUs.
2.	Initiate any block I/O and block-I/O polling on other CPUs.
3.	Once your application has started, prevent CPU-hotplug operations
3.	Once your application has started, prevent CPU-hotplug operations
+1 −1
Original line number Original line Diff line number Diff line
@@ -5,7 +5,7 @@
obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-tag.o blk-sysfs.o \
obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-tag.o blk-sysfs.o \
			blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
			blk-flush.o blk-settings.o blk-ioc.o blk-map.o \
			blk-exec.o blk-merge.o blk-softirq.o blk-timeout.o \
			blk-exec.o blk-merge.o blk-softirq.o blk-timeout.o \
			blk-iopoll.o blk-lib.o blk-mq.o blk-mq-tag.o \
			blk-lib.o blk-mq.o blk-mq-tag.o \
			blk-mq-sysfs.o blk-mq-cpu.o blk-mq-cpumap.o ioctl.o \
			blk-mq-sysfs.o blk-mq-cpu.o blk-mq-cpumap.o ioctl.o \
			genhd.o scsi_ioctl.o partition-generic.o ioprio.o \
			genhd.o scsi_ioctl.o partition-generic.o ioprio.o \
			partitions/
			partitions/
+1 −0
Original line number Original line Diff line number Diff line
@@ -1102,6 +1102,7 @@ config SCSI_IPR
	tristate "IBM Power Linux RAID adapter support"
	tristate "IBM Power Linux RAID adapter support"
	depends on PCI && SCSI && ATA
	depends on PCI && SCSI && ATA
	select FW_LOADER
	select FW_LOADER
	select IRQ_POLL
	---help---
	---help---
	  This driver supports the IBM Power Linux family RAID adapters.
	  This driver supports the IBM Power Linux family RAID adapters.
	  This includes IBM pSeries 5712, 5703, 5709, and 570A, as well
	  This includes IBM pSeries 5712, 5703, 5709, and 570A, as well
+1 −0
Original line number Original line Diff line number Diff line
@@ -3,6 +3,7 @@ config BE2ISCSI
	depends on PCI && SCSI && NET
	depends on PCI && SCSI && NET
	select SCSI_ISCSI_ATTRS
	select SCSI_ISCSI_ATTRS
	select ISCSI_BOOT_SYSFS
	select ISCSI_BOOT_SYSFS
	select IRQ_POLL


	help
	help
	This driver implements the iSCSI functionality for Emulex
	This driver implements the iSCSI functionality for Emulex
+2 −2
Original line number Original line Diff line number Diff line
@@ -20,7 +20,7 @@


#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/if_vlan.h>
#include <linux/if_vlan.h>
#include <linux/blk-iopoll.h>
#include <linux/irq_poll.h>
#define FW_VER_LEN	32
#define FW_VER_LEN	32
#define MCC_Q_LEN	128
#define MCC_Q_LEN	128
#define MCC_CQ_LEN	256
#define MCC_CQ_LEN	256
@@ -101,7 +101,7 @@ struct be_eq_obj {
	struct beiscsi_hba *phba;
	struct beiscsi_hba *phba;
	struct be_queue_info *cq;
	struct be_queue_info *cq;
	struct work_struct work_cqs; /* Work Item */
	struct work_struct work_cqs; /* Work Item */
	struct blk_iopoll	iopoll;
	struct irq_poll	iopoll;
};
};


struct be_mcc_obj {
struct be_mcc_obj {
Loading