bcachefs/drivers/scsi
John Garry 6918141d81 scsi: scsi_debug: Fix hrtimer support for ndelay
Since commit 771f712ba5 ("scsi: scsi_debug: Fix cmd duration
calculation"), ns_from_boot value is only evaluated in schedule_resp()
for polled requests.

However, ns_from_boot is also required for hrtimer support for when
ndelay is less than INCLUSIVE_TIMING_MAX_NS, so fix up the logic to
decide when to evaluate ns_from_boot.

Fixes: 771f712ba5 ("scsi: scsi_debug: Fix cmd duration calculation")
Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20241202130045.2335194-1-john.g.garry@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2024-12-04 13:22:59 -05:00
..
aacraid SCSI misc on 20241125 2024-11-25 18:50:55 -08:00
aic7xxx scsi: aic7xxx: Remove unused aic7770_find_device() 2024-10-03 22:00:08 -04:00
aic94xx
arcmsr
arm scsi: powertec: Declare local function static 2024-06-04 22:21:50 -04:00
be2iscsi scsi: be2iscsi: Simplify an alloc_workqueue() invocation 2024-08-22 21:28:55 -04:00
bfa scsi: bfa: Remove unused parsers 2024-11-20 21:39:51 -05:00
bnx2fc scsi: bnx2fc: Remove some unused fields in struct bnx2fc_rport 2024-08-28 21:33:21 -04:00
bnx2i scsi: bnx2i: Remove unused declarations 2024-08-28 20:58:47 -04:00
csiostor move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
cxgbi scsi: libcxgbi: Remove an unused field in struct cxgbi_device 2024-09-12 20:20:14 -04:00
cxlflash move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
device_handler move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
elx Merge patch series "Simplify multiple create*_workqueue() invocations" 2024-08-22 21:30:06 -04:00
esas2r scsi: esas2r: Remove unused esas2r_build_cli_req() 2024-11-06 20:45:43 -05:00
fcoe SCSI misc on 20240919 2024-09-19 11:28:51 +02:00
fnic scsi: fnic: Move flush_work initialization out of if block 2024-10-03 21:45:11 -04:00
hisi_sas scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
ibmvscsi scsi: ibmvfc: Add max_sectors module parameter 2024-09-12 20:18:30 -04:00
ibmvscsi_tgt scsi: ibmvscsi_tgt: Simplify an alloc_workqueue() invocation 2024-08-22 21:28:56 -04:00
isci minmax: make generic MIN() and MAX() macros available everywhere 2024-07-28 15:49:18 -07:00
libfc move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
libsas move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
lpfc Merge branch '6.13/scsi-queue' into 6.13/scsi-fixes 2024-12-02 12:36:18 -05:00
megaraid Merge branch '6.13/scsi-queue' into 6.13/scsi-fixes 2024-12-02 12:36:18 -05:00
mpi3mr scsi: mpi3mr: Update driver version to 8.12.0.3.50 2024-12-04 12:21:05 -05:00
mpt3sas scsi: mpt3sas: Update driver version to 51.100.00.00 2024-12-04 12:04:44 -05:00
mvsas move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
pcmcia scsi: Add missing MODULE_DESCRIPTION() macros 2024-06-11 21:33:58 -04:00
pm8001 scsi: pm8001: Increase request sg length to support 4MiB requests 2024-11-06 20:45:20 -05:00
qedf scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb() 2024-11-06 20:46:32 -05:00
qedi scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb() 2024-11-06 20:46:36 -05:00
qla2xxx scsi: qla2xxx: Update version to 10.02.09.400-k 2024-12-04 13:22:59 -05:00
qla4xxx scsi: Expand all create*_workqueue() invocations 2024-08-22 21:28:55 -04:00
smartpqi move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
snic Merge patch series "Simplify multiple create*_workqueue() invocations" 2024-08-22 21:30:06 -04:00
sym53c8xx_2
.gitignore
3w-9xxx.c
3w-9xxx.h
3w-sas.c
3w-sas.h
3w-xxxx.c
3w-xxxx.h
53c700_d.h_shipped
53c700.c
53c700.h
53c700.scr
a100u2w.c
a100u2w.h
a2091.c
a2091.h
a3000.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
a3000.h
a4000t.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
advansys.c scsi: Add missing MODULE_DESCRIPTION() macros 2024-06-11 21:33:58 -04:00
aha152x.c scsi: aha152x: Switch to irq_get_nr_irqs() 2024-10-16 21:56:58 +02:00
aha152x.h
aha1542.c scsi: Add missing MODULE_DESCRIPTION() macros 2024-06-11 21:33:58 -04:00
aha1542.h
aha1740.c scsi: Add missing MODULE_DESCRIPTION() macros 2024-06-11 21:33:58 -04:00
aha1740.h
am53c974.c
atari_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
atp870u.c scsi: Add missing MODULE_DESCRIPTION() macros 2024-06-11 21:33:58 -04:00
atp870u.h
BusLogic.c scsi: Add missing MODULE_DESCRIPTION() macros 2024-06-11 21:33:58 -04:00
BusLogic.h
bvme6000_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
ch.c
constants.c
dc395x.c
dc395x.h
dmx3191d.c
esp_scsi.c
esp_scsi.h
fdomain_isa.c
fdomain_pci.c
fdomain.c
fdomain.h
FlashPoint.c
g_NCR5380.c scsi: Add missing MODULE_DESCRIPTION() macros 2024-06-11 21:33:58 -04:00
gvp11.c
gvp11.h
hosts.c scsi: core: Simplify an alloc_workqueue() invocation 2024-08-22 21:28:57 -04:00
hpsa_cmd.h
hpsa.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
hpsa.h
hptiop.c
hptiop.h
imm.c Char/Misc and other driver changes for 6.11-rc1 2024-07-19 15:55:08 -07:00
imm.h
initio.c
initio.h
ipr.c
ipr.h move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ips.c
ips.h
iscsi_boot_sysfs.c
iscsi_tcp.c block: move the stable_writes flag to queue_limits 2024-06-19 07:58:28 -06:00
iscsi_tcp.h
jazz_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
Kconfig block: remove the blk_integrity_profile structure 2024-06-14 10:20:06 -06:00
lasi700.c
libiscsi_tcp.c
libiscsi.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mac53c94.c
mac53c94.h
mac_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
mac_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
Makefile
megaraid.c
megaraid.h
mesh.c
mesh.h
mvme16x_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
mvme147.c
mvme147.h
mvumi.c
mvumi.h
myrb.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
myrb.h scsi: myrb: Simplify an alloc_ordered_workqueue() invocation 2024-08-22 21:28:56 -04:00
myrs.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
myrs.h scsi: myrs: Simplify an alloc_ordered_workqueue() invocation 2024-08-22 21:28:56 -04:00
ncr53c8xx.c
ncr53c8xx.h
NCR5380.c scsi: NCR5380: Clean up indentation 2024-08-12 22:05:50 -04:00
NCR5380.h scsi: NCR5380: Clean up indentation 2024-08-12 22:05:50 -04:00
nsp32_debug.c
nsp32_io.h
nsp32.c
nsp32.h
pmcraid.c SCSI misc on 20240928 2024-09-29 09:22:34 -07:00
pmcraid.h
ppa.c Char/Misc and other driver changes for 6.11-rc1 2024-07-19 15:55:08 -07:00
ppa.h
ps3rom.c
qla1280.c
qla1280.h scsi: qla1280: Fix hw revision numbering for ISP1020/1040 2024-11-20 21:32:48 -05:00
qlogicfas408.c
qlogicfas408.h
qlogicfas.c
qlogicpti.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
qlogicpti.h
raid_class.c
script_asm.pl
scsi_bsg.c
scsi_common.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_debug.c scsi: scsi_debug: Fix hrtimer support for ndelay 2024-12-04 13:22:59 -05:00
scsi_debugfs.c
scsi_debugfs.h
scsi_devinfo.c scsi: core: Fix an incorrect comment 2024-06-13 15:21:24 -04:00
scsi_dh.c
scsi_error.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_ioctl.c
scsi_lib_dma.c
scsi_lib_test.c
scsi_lib.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_logging.c
scsi_logging.h
scsi_netlink.c
scsi_pm.c
scsi_priv.h
scsi_proc.c
scsi_proto_test.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_sas_internal.h
scsi_scan.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_sysctl.c
scsi_sysfs.c sysfs: treewide: constify attribute callback of bin_is_visible() 2024-11-05 14:00:28 +01:00
scsi_trace.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_transport_api.h
scsi_transport_fc.c scsi: scsi_transport_fc: Allow setting rport state to current state 2024-10-03 22:01:34 -04:00
scsi_transport_iscsi.c driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
scsi_transport_sas.c scsi: mpi3mr: Fix ATA NCQ priority support 2024-06-11 21:40:23 -04:00
scsi_transport_spi.c
scsi_transport_srp.c
scsi.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsicam.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
sd_dif.c block: move integrity information into queue_limits 2024-06-14 10:20:07 -06:00
sd_trace.h
sd_zbc.c for-6.13/block-20241118 2024-11-18 16:50:08 -08:00
sd.c block: remove the write_hint field from struct request 2024-11-12 14:42:02 -07:00
sd.h scsi: sd: Atomic write support 2024-06-20 15:19:17 -06:00
sense_codes.h
ses.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
sg.c scsi: sg: Fix slab-use-after-free read in sg_release() 2024-12-04 13:22:59 -05:00
sgiwd93.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
sim710.c
sni_53c710.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
sr_ioctl.c minmax: scsi: fix mis-use of 'clamp()' in sr.c 2024-07-28 17:06:20 -07:00
sr_vendor.c
sr.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
sr.h
st_options.h
st.c SCSI misc on 20241125 2024-11-25 18:50:55 -08:00
st.h
stex.c scsi: stex: Simplify an alloc_ordered_workqueue() invocation 2024-08-22 21:28:57 -04:00
storvsc_drv.c scsi: storvsc: Do not flag MAINTENANCE_IN return of SRB_STATUS_DATA_OVERRUN as an error 2024-12-04 13:22:59 -05:00
sun3_scsi_vme.c
sun3_scsi.c scsi: sun3: Mark driver struct with __refdata to prevent section mismatch 2024-11-06 21:06:44 -05:00
sun3x_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
sun_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
virtio_scsi.c virtio: rename virtio_find_vqs_info() to virtio_find_vqs() 2024-07-17 05:20:58 -04:00
vmw_pvscsi.c scsi: Expand all create*_workqueue() invocations 2024-08-22 21:28:55 -04:00
vmw_pvscsi.h
wd33c93.c scsi: wd33c93: Don't use stale scsi_pointer value 2024-10-03 21:48:08 -04:00
wd33c93.h
wd719x.c
wd719x.h
xen-scsifront.c
zalon.c scsi: zalon: Remove trailing space after \n newline 2024-09-12 20:25:43 -04:00
zorro7xx.c
zorro_esp.c