1. 10 6月, 2006 1 次提交
  2. 06 6月, 2006 1 次提交
  3. 26 3月, 2006 1 次提交
  4. 20 3月, 2006 1 次提交
  5. 12 3月, 2006 1 次提交
  6. 28 2月, 2006 3 次提交
  7. 27 2月, 2006 1 次提交
  8. 15 1月, 2006 1 次提交
  9. 13 1月, 2006 1 次提交
  10. 09 1月, 2006 1 次提交
    • C
      [PATCH] Add block_device_operations.getgeo block device method · a885c8c4
      Christoph Hellwig 提交于
      HDIO_GETGEO is implemented in most block drivers, and all of them have to
      duplicate the code to copy the structure to userspace, as well as getting
      the start sector.  This patch moves that to common code [1] and adds a
      ->getgeo method to fill out the raw kernel hd_geometry structure.  For many
      drivers this means ->ioctl can go away now.
      
      [1] the s390 block drivers are odd in this respect.  xpram sets ->start
          to 4 always which seems more than odd, and the dasd driver shifts
          the start offset around, probably because of it's non-standard
          sector size.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Cc: Jens Axboe <axboe@suse.de>
      Cc: <mike.miller@hp.com>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
      Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
      Cc: Neil Brown <neilb@cse.unsw.edu.au>
      Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a885c8c4
  11. 06 1月, 2006 3 次提交
  12. 16 12月, 2005 1 次提交
  13. 14 12月, 2005 2 次提交
  14. 09 11月, 2005 1 次提交
  15. 05 11月, 2005 1 次提交
    • A
      [SCSI] sd: Fix refcounting · 39b7f1e2
      Alan Stern 提交于
      Currently the driver takes a reference only for requests coming by way
      of the gendisk, not for requests coming by way of the struct device or
      struct scsi_device.  Such requests can arrive in the rescan, flush,
      and shutdown pathways.
      
      The patch also makes the scsi_disk keep a reference to the underlying
      scsi_device, and it erases the scsi_device's pointer to the scsi_disk
      when the scsi_device is removed (since the pointer should no longer be
      used).
      
      This resolves Bugzilla entry #5237.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      39b7f1e2
  16. 29 10月, 2005 2 次提交
  17. 15 9月, 2005 1 次提交
  18. 07 9月, 2005 1 次提交
    • A
      [SCSI] sd: pause in sd_spinup_disk for slow USB devices · 4451e472
      Alan Stern 提交于
      This patch adds a delay tailored for USB flash devices that are slow to
      initialize their firmware.  The symptom is a repeated Unit Attention with
      ASC=0x28 (Not Ready to Ready transition).  The patch will wait for up to 5
      seconds for such devices to become ready.  Normal devices won't send the
      repeated Unit Attention sense key and hence won't trigger the patch.
      
      This fixes a problem with James Roberts-Thomson's USB device, and I've
      seen several reports of other devices exhibiting the same symptoms --
      presumably they will be helped as well.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      4451e472
  19. 29 8月, 2005 2 次提交
  20. 14 7月, 2005 1 次提交
  21. 26 5月, 2005 1 次提交
    • A
      [SCSI] TYPE_RBC cache fixes (sbp2.c affected) · 631e8a13
      Al Viro 提交于
      	a) TYPE_SDAD renamed to TYPE_RBC and taken to scsi.h
      	b) in sbp2.c remapping of TYPE_RPB to TYPE_DISK turned off
      	c) relevant places in midlayer and sd.c taught to accept TYPE_RBC
      	d) sd.c::sd_read_cache_type() looks into page 6 when dealing with
      TYPE_RBC - these guys have writeback cache flag there and are not guaranteed
      to have page 8 at all.
      	e) sd_read_cache_type() got an extra sanity check - it checks that
      it got the page it asked for before using its contents.  And screams if
      mismatch had happened.  Rationale: there are broken devices out there that
      are "helpful" enough to go for "I don't have a page you've asked for, here,
      have another one".  For example, PL3507 had been caught doing just that...
      	f) sbp2 sets sdev->use_10_for_rw and sdev->use_10_for_ms instead
      of bothering to remap READ6/WRITE6/MOD_SENSE, so most of the conversions
      in there are gone now.
      
      	Incidentally, I wonder if USB storage devices that have no
      mode page 8 are simply RBC ones.  I haven't touched that, but it might
      be interesting to check...
      Signed-off-by: NAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      631e8a13
  22. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4