1. 20 Apr, 2011 1 commit
    • Stefan Weinhuber's avatar
      [S390] dasd: fix race between open and offline · 65f8da47
      Stefan Weinhuber authored
      
      The dasd_open function uses the private_data pointer of the gendisk to
      find the dasd_block structure that matches the gendisk. When a DASD
      device is set offline, we set the private_data pointer of the gendisk
      to NULL and later remove the dasd_block structure, but there is still
      a small race window, in which dasd_open could first read a pointer
      from the private_data field and then try to use it, after the structure
      has already been freed.
      To close this race window, we will store a pointer to the dasd_devmap
      structure of the base device in the private_data field. The devmap
      entries are not deleted, and we already have proper locking and
      reference counting in place, so that we can safely get from a devmap
      pointer to the dasd_device and dasd_block structures of the device.
      Signed-off-by: default avatarStefan Weinhuber <wein@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      65f8da47
  2. 26 Sep, 2010 1 commit
    • Arnd Bergmann's avatar
      s390/block: kill the big kernel lock · cfdb00a7
      Arnd Bergmann authored
      
      The dasd and dcssblk drivers gained the big
      kernel lock in the recent pushdown from the
      block layer, but they don't really need it,
      so remove the calls without a replacement.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: linux-s390@vger.kernel.org
      cfdb00a7
  3. 30 Mar, 2010 1 commit
    • Tejun Heo's avatar
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking... · 5a0e3ad6
      Tejun Heo authored
      include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
      
      percpu.h is included by sched.h and module.h and thus ends up being
      included when building most .c files.  percpu.h includes slab.h which
      in turn includes gfp.h making everything defined by the two files
      universally available and complicating inclusion dependencies.
      
      percpu.h -> slab.h dependency is about to be removed.  Prepare for
      this change by updating users of gfp and slab facilities include those
      headers directly instead of assuming availability.  As this conversion
      needs to touch large number of source files, the following script is
      used as the basis of conversion.
      
        http://userweb.kernel.org/~tj/misc/slabh-sweep.py
      
      The script does the followings.
      
      * Scan files for gfp and slab usages and update includes such that
        only the necessary includes are there.  ie. if only gfp is used,
        gfp.h, if slab is used, slab.h.
      
      * When the script inserts a new include, it looks at the include
        bloc...
      5a0e3ad6
  4. 08 Mar, 2010 1 commit
  5. 27 Jan, 2010 1 commit
  6. 13 Jan, 2010 1 commit
  7. 07 Dec, 2009 1 commit
    • Stefan Weinhuber's avatar
      [S390] dasd: improve error recovery for internal I/O · eb6e199b
      Stefan Weinhuber authored
      
      Most of the error conditions reported by a FICON storage server
      indicate situations which can be recovered. Sometimes the host just
      needs to retry an I/O request, but sometimes the recovery
      is more complex and requires the device driver to wait, choose
      a different path, etc.
      
      The DASD device driver has a fully featured error recovery
      for normal block layer I/O, but not for internal I/O request which
      are for example used during the device bring up.
      This can lead to situations where the IPL of a system fails because
      DASD devices are not properly recognized.
      This patch will extend the internal I/O handling to use the existing
      error recovery procedures.
      Signed-off-by: default avatarStefan Weinhuber <wein@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      eb6e199b
  8. 11 Sep, 2009 1 commit
  9. 12 Jul, 2009 1 commit
  10. 26 Mar, 2009 3 commits
  11. 21 Oct, 2008 1 commit
  12. 26 Jan, 2008 1 commit
    • Stefan Weinhuber's avatar
      [S390] dasd: add hyper PAV support to DASD device driver, part 1 · 8e09f215
      Stefan Weinhuber authored
      
      Parallel access volumes (PAV) is a storage server feature, that allows
      to start multiple channel programs on the same DASD in parallel. It
      defines alias devices which can be used as alternative paths to the
      same disk. With the old base PAV support we only needed rudimentary
      functionality in the DASD device driver. As the mapping between base
      and alias devices was static, we just had to export an identifier
      (uid) and could leave the combining of devices to external layers
      like a device mapper multipath.
      Now hyper PAV removes the requirement to dedicate alias devices to
      specific base devices. Instead each alias devices can be combined with
      multiple base device on a per request basis. This requires full
      support by the DASD device driver as now each channel program itself
      has to identify the target base device.
      The changes to the dasd device driver and the ECKD discipline are:
      - Separate subchannel device representation (dasd_device) from block
        device representation (dasd_block). Only base devices are block
        devices.
      - Gather information about base and alias devices and possible
        combinations.
      - For each request decide which dasd_device should be used (base or
        alias) and build specific channel program.
      - Support summary unit checks, which allow the storage server to
        upgrade / downgrade between base and hyper PAV at runtime (support
        is mandatory).
      Signed-off-by: default avatarStefan Weinhuber <wein@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      8e09f215
  13. 10 May, 2007 1 commit
  14. 08 Dec, 2006 1 commit
  15. 12 Jul, 2006 1 commit
  16. 30 Jun, 2006 1 commit
  17. 29 Jun, 2006 1 commit
  18. 24 Mar, 2006 6 commits
  19. 23 Mar, 2006 1 commit
  20. 01 Feb, 2006 2 commits
  21. 10 Jan, 2006 1 commit
  22. 09 Jan, 2006 1 commit
    • Christoph Hellwig's avatar
      [PATCH] Add block_device_operations.getgeo block device method · a885c8c4
      Christoph Hellwig authored
      
      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: default avatarChristoph 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: default avatarAdrian Bunk <bunk@stusta.de>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      a885c8c4
  23. 06 Jan, 2006 1 commit
  24. 05 Sep, 2005 1 commit
  25. 01 May, 2005 1 commit
  26. 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