scsi_lib.c (9005615bafbe03075f4e4fe10874b7abe1918782) | scsi_lib.c (f363b089be0a39fe4282c688118a51d21f952bc7) |
---|---|
1/* 2 * Copyright (C) 1999 Eric Youngdale 3 * Copyright (C) 2014 Christoph Hellwig 4 * 5 * SCSI queueing library. 6 * Initial versions: Eric Youngdale (eric@andante.org). 7 * Based upon conversations with large numbers 8 * of people at Linux Expo. --- 2140 unchanged lines hidden (view full) --- 2149 blk_queue_prep_rq(q, scsi_prep_fn); 2150 blk_queue_unprep_rq(q, scsi_unprep_fn); 2151 blk_queue_softirq_done(q, scsi_softirq_done); 2152 blk_queue_rq_timed_out(q, scsi_times_out); 2153 blk_queue_lld_busy(q, scsi_lld_busy); 2154 return q; 2155} 2156 | 1/* 2 * Copyright (C) 1999 Eric Youngdale 3 * Copyright (C) 2014 Christoph Hellwig 4 * 5 * SCSI queueing library. 6 * Initial versions: Eric Youngdale (eric@andante.org). 7 * Based upon conversations with large numbers 8 * of people at Linux Expo. --- 2140 unchanged lines hidden (view full) --- 2149 blk_queue_prep_rq(q, scsi_prep_fn); 2150 blk_queue_unprep_rq(q, scsi_unprep_fn); 2151 blk_queue_softirq_done(q, scsi_softirq_done); 2152 blk_queue_rq_timed_out(q, scsi_times_out); 2153 blk_queue_lld_busy(q, scsi_lld_busy); 2154 return q; 2155} 2156 |
2157static struct blk_mq_ops scsi_mq_ops = { | 2157static const struct blk_mq_ops scsi_mq_ops = { |
2158 .queue_rq = scsi_queue_rq, 2159 .complete = scsi_softirq_done, 2160 .timeout = scsi_timeout, 2161 .init_request = scsi_init_request, 2162 .exit_request = scsi_exit_request, 2163 .map_queues = scsi_map_queues, 2164}; 2165 --- 1204 unchanged lines hidden --- | 2158 .queue_rq = scsi_queue_rq, 2159 .complete = scsi_softirq_done, 2160 .timeout = scsi_timeout, 2161 .init_request = scsi_init_request, 2162 .exit_request = scsi_exit_request, 2163 .map_queues = scsi_map_queues, 2164}; 2165 --- 1204 unchanged lines hidden --- |