1. 12 Jan, 2006 1 commit
  2. 09 Jan, 2006 2 commits
    • Jes Sorensen's avatar
      [PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem · 1b1dcc1b
      Jes Sorensen authored
      
      
      This patch converts the inode semaphore to a mutex. I have tested it on
      XFS and compiled as much as one can consider on an ia64. Anyway your
      luck with it might be different.
      Modified-by: default avatarIngo Molnar <mingo@elte.hu>
      
      (finished the conversion)
      Signed-off-by: default avatarJes Sorensen <jes@sgi.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      1b1dcc1b
    • 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
  3. 06 Jan, 2006 26 commits
  4. 20 Dec, 2005 1 commit
  5. 28 Nov, 2005 1 commit
  6. 18 Nov, 2005 1 commit
    • NeilBrown's avatar
      [PATCH] md: fix is_mddev_idle calculation now that disk/sector accounting... · c0e48521
      NeilBrown authored
      
      [PATCH] md: fix is_mddev_idle calculation now that disk/sector accounting happens when request completes
      
      md needs to monitor the rate of requests to its devices when doing
      resync/recovery so that it can back-off when there is non-resync IO.  It
      does this by comparing resync IO, which it counts, with total IO which is
      taken from disk_stats.
      
      disk_stats were recently changed to account sectors when a request
      completes instead of when it is queued.  This upsets md's calculations.
      
      We could do the sync_io accounting at the end of requests too, but that has
      problems.  If an underlying device is an md array, the accounting will
      still be done when the request is submitted.  This could be changed for
      some raid levels, but it cannot be changed for raid0 or linear without
      substantial code changes.
      
      So instead, we increase the error that is_mddev_idle allows, up to the
      maximum amount of resync IO that can be in flight at any time.  The
      calculation is current fragile as each personality as different limits for
      in-flight resync.  This should be fixed up.
      
      For now, this simple patch fixes the problem.
      
      Increasing the error margin decreases the sensitivity to non-resync IO.  To
      partially compensate for this, the time to wait when non-resync IO is
      detected is increased so that less steady IO is required to keep the resync
      at bay.
      Signed-off-by: default avatarNeil Brown <neilb@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      c0e48521
  7. 15 Nov, 2005 2 commits
  8. 09 Nov, 2005 6 commits