An error occurred fetching the project authors.
- 24 Oct, 2002 1 commit
-
-
Christoph Hellwig authored
In 2.5.44 it contains only two functions, that both have exactly one caller in other files and both are entirely unrelated to request merging..
-
- 22 Oct, 2002 2 commits
-
-
James Bottomley authored
-
Christoph Hellwig authored
the ->finish method is a relicat from the old day were we never had hotplugging and allowed the driver to do fixups after all busses had been scanned. Nowdays only sd and sr actually implement it, and both only defer actions to there that should actually happen in ->attach. Change both drivers to move that code into ->attach, clenaup the Templates to use C99 initializers and get rid of the methods. This also cleans up some very crude race-avoidable code in those drivers, btw..
-
- 17 Oct, 2002 1 commit
-
-
Patrick Mansfield authored
This patch consolidates the setting of the LUN in byte 1 of the SCSI command block for SCSI-2 and lower devices. This is needed for multi-path IO (some devices can actually have differnt LUN values for each path), but is also a nice clean up of the code. sg.c was able to inhibit setting the value, this removes that capability - if it is really needed it can be black listed in the device_list[] flags, or sg could set a similiar flag. This is patched against the latest bk (as of some time on Oct 16), and patches clean against 2.5.43. Tests were run with different adapters and various disks and a tape drive, I have no SCSI-2 multi-lun devices, so the main verifcation was done using a modified scsi_debug.c driver to emulate a multi-lun SCSI-2 device. drivers/scsi/osst.c | 2 -- drivers/scsi/scsi.c | 6 ++++++ drivers/scsi/scsi_error.c | 12 +++++------- drivers/scsi/scsi_ioctl.c | 16 ++++------------ drivers/scsi/scsi_scan.c | 31 ++++--------------------------- drivers/scsi/sd.c | 22 +++++----------------- drivers/scsi/sg.c | 4 ---- drivers/scsi/sr.c | 17 ++--------------- drivers/scsi/sr_ioctl.c | 20 +------------------- drivers/scsi/sr_vendor.c | 18 +++--------------- drivers/scsi/st.c | 2 -- include/scsi/sg.h | 2 +- 12 files changed, 31 insertions(+), 121 deletions(-)
-
- 15 Oct, 2002 2 commits
-
-
Doug Ledford authored
Rename queue_depth to current_queue_depth so that: A) we represent the true purpose of the variable B) we catch anyone using it wrongly
-
Doug Ledford authored
More scsi TCQ updates, tweak to ServeRAID, tweak scsi_scan, make BusLogic use new method
-
- 11 Oct, 2002 1 commit
-
-
Doug Ledford authored
This does 4 things. Fixes the oversight James found about cmd_per_lun. Makes scsi_adjust_queue_depth() implement the usage of tagged that I described in my email to linux-scsi. Updates some comments to highlight things that are going to go away shortly. Removes the call to host->select_queue_depths() entirely since drivers that implement this will try to set SDptr->queue_depth to the desired depth, which in reality will do nothing but confuse the mid layer since that is now the actual allocated command counter, so it won't make the mid layer allocate more commands, it will make the mid layer think more commands have been allocated.
-
- 08 Oct, 2002 2 commits
-
-
Doug Ledford authored
scsi_syms.c: Missing export drivers/scsi/aic7xxx_old.c: More updates for the slave_attach stuff drivers/scsi/scsi_scan.c: Make scsi_scan.c call hostt->slave_attach after we have set the sdev->tagged_supported variable
-
Doug Ledford authored
Linus, this has been tested by some people in the field to not break things, and it's the start of some other changes I'm making, so please put this in your tree so I'm not merging huge patches but instead am merging a little as I go.
-
- 01 Oct, 2002 1 commit
-
-
James Bottomley authored
This allows the request_fn() to recover properly from either host_blocked or device_blocked at zero command depth. Also adds the facility for queuecommand() to tell us whether it wants the host or only the device blocked
-
- 09 Aug, 2002 2 commits
-
-
Patrick Mansfield authored
On Thu, Aug 08, 2002 at 02:06:16PM -0700, Patrick Mansfield wrote: > Hi - > > Attached is cleanup/rewrite patch for scsi_scan.c against 2.5.30. > There's a bug for adapters with multiple channels (like the ServeRAID with ips driver) not being properly scanned - it scans channel 0 again rather than going to the next channel - patch on top of the original patch:
-
Patrick Mansfield authored
Attached is cleanup/rewrite patch for scsi_scan.c against 2.5.30. The only functional change is adding support for BFLAGS_LARGELUN, it was defined before, but not used, otherwise the code should be the functional equivalent of the pre-patch version. The unused BFLAGS_NODISK was removed. Tested with: qla2300, v6 beta drivers modified for 2.5.x, with FCP switch attached IBM 3542 (multi-LUN FC disk array, supports REPORT LUN) SEAGATE ST118273 (FC disk drive) serveRAID (ips driver, boot device) AIC Adaptec 7896 with IBM-PSG ST318203LC (boot disk) ISP1020 (qlogicisp driver) with Quantum DLT7000 tape drive attached -- Patrick Mansfield
-
- 08 Aug, 2002 1 commit
-
-
Patrick Mochel authored
parameter, and just __stringify the name instead. Update all the users of the macros.
-
- 01 Aug, 2002 1 commit
-
-
Patrick Mochel authored
DEVICE_ATTR macro.
-
- 30 Jul, 2002 1 commit
-
-
Patrick Mochel authored
do a s/driver_file_entry/device_attribute/g on all of them.
-
- 28 Jul, 2002 1 commit
-
-
Matthew Dharm authored
Fixed one of the INQUIRY commands used for probing SCSI devices. This badly-formed command was trapped by the usb-storage driver BUG_ON() which is designed to stop command with a badly formed transfer_length field.
-
- 24 Jul, 2002 1 commit
-
-
Neil Brown authored
Define container_of which cast from member to struct with some type checking. This is much like list_entry but is cearly for things other than lists. List_entry now uses container_of.
-
- 02 Jul, 2002 1 commit
-
-
Mike Sullivan authored
-
- 15 Jun, 2002 1 commit
-
-
Andries E. Brouwer authored
Below a patch removing the list of sense codes from usb/storage/debug.h since the same list is already found in scsi/constants.c. This also brings this list up to date with SCSI-3.
-
- 31 May, 2002 1 commit
-
-
Martin Dalecki authored
- Since Bartek has released finally an entierly user space based setup monitoring utility, we can finally remove the nonfunctional PROC code from the host chip drivers. We have preserved it thus far only for documentation purposes. - Use generic bus master DMA setup code. There is nothing wrong with it. - Make the ide-scsi code actually just allow for one device id per scsi host, since we are registering a host per device right now. This prevents the repetitive device recognition. Well registering an SCSI host of every single disk out there isn't the proper thing to do. I will deal with that later after my visual perception recovers again from already looking too long at the SCSI code :-). - Deal properly with host specific data mapping. (Could be that solves some problems with the driver, which where in reality kernel data corruptions.) - Homogenize flag handling for ATAPI drivers.
-
- 28 Apr, 2002 1 commit
-
-
Douglas Gilbert authored
Here's a patch for SCSI REPORT LUN scanning, including Douglas Gilbert's recent changes to support a short INQUIRY followed by a longer INQUIRY. Please apply, or let me know if you think it needs any modifications. It's against linux-2.5.4. It does _not_ change the size of the linux lun. A description of the 8 byte LUN layout can be found on page 35 of: ftp://ftp.t10.org/t10/drafts/scc2/scc2r04.pdf The above is a draft, but matches the layout seen on most disk arrays (including EMC, IBM, LSI, and Hitachi). Later drafts (post SCSI-3) have this information in the SCSI Architectural Model. Patch description: Adds REPORT LUN scanning. Adds Douglas Gilbert's INQUIRY modification so broken devices that cannot handlean INQUIRY of more than 36 bytes can be black-listed, plus saving the INQUIRY result in Scsi_Device. Adds scan_scsis_target function, replacing code in scan_scsis and parts of scan_scsis_single. This cleans up the scanning code, and removes a really ugly for loop. It would be difficult to add REPORT LUN scanning without this change. Adds missing scsi_release_commandblocks(). No longer sets max_dev_lun out of bounds for BLIST_FORCELUN devices. Fixes scanning past LUN 7 for SCSI-3 devices (the patch in 2.4.17 for that fix will not cleanly apply against this code). -- Patrick Mansfield
-
- 05 Feb, 2002 11 commits
-
-
Linus Torvalds authored
- Matt Domsch: combine common crc32 library - Pete Zaitcev: ymfpci update - Davide Libenzi: scheduler improvements - Al Viro: almost there: "struct block_device *" everywhere - Richard Gooch: devfs cpqarray update, race fix - Rusty Russell: PATH_MAX should include the final '0' count - David Miller: various random updates (mainly net and sparc)
-
Linus Torvalds authored
- Dave Jones: more merging, fix up last merge.. - release to sync with Dave
-
Linus Torvalds authored
- Al Viro: floppy_eject cleanup, mount cleanups - Jens Axboe: bio updates - Ingo Molnar: mempool fixes - GOTO Masanori: Fix O_DIRECT error handling
-
Linus Torvalds authored
- Trond Myklebust: deadlock checking in lockd server - Tim Waugh: fix up parport wrong #define - Christoph Hellwig: i2c update, ext2 cleanup - Al Viro: fix partition handling sanity check. - Trond Myklebust: make NFS use SLAB_NOFS, and not play games with PF_MEMALLOC - Ben Fennema: UDF update - Alan Cox: continued merging - Chris Mason: get /proc buffer memory sizes right after buf-in-page-cache
-
Linus Torvalds authored
- Keith Owens: module exporting error checking - Greg KH: USB update - Paul Mackerras: clean up wait_init_idle(), ppc prefetch macros - Jan Kara: quota fixes - Abraham vd Merwe: agpgart support for Intel 830M - Jakub Jelinek: ELF loader cleanups - Al Viro: more cleanups - David Miller: sparc64 fix, netfilter fixes - me: tweak resurrected oom handling
-
Linus Torvalds authored
- Patrick Mochel: fix PCI:PCI bridge 64-bit memory type detection - me: more forgotten nfsd off_t -> loff_t - Alan Cox: ide driver merge - Eric Lammerts, Rik van Riel: when oom, kill all threads. - Ben LaHaise: use down_read, not down_write() in map_user_kiobuf. We don't change the mappings, we just read them. - Kai Germaschewski: ISDN updates - Roland Fehrenbacher: sparse lun check - Tim Waugh: handle awkward Titan parallel/serial port cards - Stephen Rothwell: APM updates - Anton Altaparmakov: NTFS updates
-
Linus Torvalds authored
- merge with Alan (SCSI subsystem) - Jeff Garzik: make serial driver PCI hotplug-aware
-
Linus Torvalds authored
- remember to increment the version number - Chris Mason: reiserfs mark_journal_new and bh leak fix - Richard Gooch: devfs update - Alexander Viro: further FS cleanup (superblock list) - David Woodhouse: MTD update - Kai Germaschewski: ISDN update (stanford checker fixes etc) - Rich Baum: gcc-3.0 warning fixes - Jeff Garzik: network driver updates - Geert Uytterhoeven: m68k fbdev logo merge glitch fix - Andrea Arcangeli: fix signal return path - David Miller: Sparc updates - Johannes Erdfelt: USB update - Carsten Otte, Andries Brouwer: don't clear blk_size unconditionally on partition check - Martin Frey: alpha Sable irq fix - Paul Mackerras: PPC softirq update - Patrick Mochel: PCI power management infrastructure - Robert Siemer: miroSOUND driver update - Neil Brown: knfsd updates, including ability to export ReiserFS filesystems - Trond Myklebust: NFS readdir fixup, don't update atime on client - Andrew Morton: truncate_inode_pages speedup - Paul Menage: make inode quota count all inodes..
-
Linus Torvalds authored
- Ingo Molnar/Al Viro: don't use bforget() on ext2 (and minix) metadata where we may not be the only owner of the buffer! FS corruption. - Andi Kleen: IPv6 packet re-assembly fix. - David Howells: fix up rwsem implementation - Alan Cox: more merging (S/390 down, ARM to go). - Jens Axboe: LVM and loop fixes
-
Linus Torvalds authored
- driver sync up with Alan - Andrew Morton: wakeup cleanup and race fix - Paul Mackerras: macintosh driver updates. - don't trust "page_count()" on reserved pages! - Russell King: fix serious IDE multimode write bug! - me, Jens, others: fix elevator problem - ARM, MIPS and cris architecture updates - alpha updates: better page clear/copy, avoid kernel lock in execve - USB and firewire updates - ISDN updates - Irda updates
-
Linus Torvalds authored
-