1. 15 Dec, 2005 1 commit
  2. 13 Dec, 2005 2 commits
  3. 28 Oct, 2005 3 commits
  4. 14 Sep, 2005 1 commit
  5. 28 Aug, 2005 3 commits
    • James Bottomley's avatar
      [SCSI] convert sr to scsi_execute_req · 820732b5
      James Bottomley authored
      
      
      This follows almost the identical model to sd, except that there's one
      ioctl which returns raw sense data, so it had to use scsi_execute()
      instead.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      820732b5
    • James Bottomley's avatar
      [SCSI] convert the remaining mid-layer pieces to scsi_execute_req · 1cf72699
      James Bottomley authored
      
      
      After this, we just have some drivers, all the ULDs and the SPI
      transport class using scsi_wait_req().
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      1cf72699
    • Pete Zaitcev's avatar
      [SCSI] sr.c: Fix getting wrong size · 51490c89
      Pete Zaitcev authored
      
      
      Here's the problem. Try to do this on 2.6.12:
      - Kill udev and HAL
      - Insert a CD-ROM into a SCSI or USB CD-ROM drive
      - Run dd if=/dev/scd0
      - cat /sys/block/sr0/size
      - Eject the CD, insert a different one
      - Run dd if=/dev/scd0
      This is likely to do "access beyond the end of device", if you let it
      - cat /sys/block/sr0/size
      This shows the size of a previous CD, even though dd was supposed
      to revalidate the device.
      - Run dd if=/dev/scd0
      The second run of dd works correctly!
      
      The bug was introduced in 2.5.31, when Al fixes the recursive opens
      in partitioning. Before, the code worked like this:
      - Block layer called cdrom_open directly
      - cdrom_open called sr_open
      - sr_open called check_disk_change
      - check_disk_change called sr_media_change
      - sr_media_change did cd->needs_disk_change=1
      - before returning sr_open tested cd->needs_disk_change
        and called get_sector_size.
      
      In 2.6.12, the check_disk_change is called from cdrom_open only. Thus:
      - Block layer calls sr_bd_open
      - sr_bd_open calls cdrom_open
      - cdrom_open calls sr_open
      - sr_open tests cd->needs_disk_change, which wasn't set yet; returns
      - cdrom_open calls check_disk_change
      - check_disk_change calls sr_media_change
      - sr_media_change does cd->needs_disk_change=1, but nobody cares
      
      Acked by: Alexander Viro <aviro@redhat.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      51490c89
  6. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      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