Skip to content
Snippets Groups Projects
  1. Jan 13, 2009
  2. Jan 07, 2009
  3. Jan 06, 2009
  4. Jan 05, 2009
  5. Jan 02, 2009
  6. Dec 29, 2008
  7. Dec 16, 2008
  8. Dec 05, 2008
  9. Dec 03, 2008
  10. Nov 07, 2008
  11. Nov 01, 2008
    • Al Viro's avatar
      saner FASYNC handling on file close · 233e70f4
      Al Viro authored
      
      As it is, all instances of ->release() for files that have ->fasync()
      need to remember to evict file from fasync lists; forgetting that
      creates a hole and we actually have a bunch that *does* forget.
      
      So let's keep our lives simple - let __fput() check FASYNC in
      file->f_flags and call ->fasync() there if it's been set.  And lose that
      crap in ->release() instances - leaving it there is still valid, but we
      don't have to bother anymore.
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      233e70f4
  12. Oct 30, 2008
    • Randy Dunlap's avatar
      i2o: fix kernel-doc warnings · b77b0ef2
      Randy Dunlap authored
      
      Fixup i2o kernel-doc warnings:
      
      Warning(linux-next-20081022//drivers/message/i2o/i2o_block.c:579): No description found for parameter 'bdev'
      Warning(linux-next-20081022//drivers/message/i2o/i2o_block.c:579): No description found for parameter 'mode'
      Warning(linux-next-20081022//drivers/message/i2o/i2o_block.c:608): No description found for parameter 'disk'
      Warning(linux-next-20081022//drivers/message/i2o/i2o_block.c:608): No description found for parameter 'mode'
      Warning(linux-next-20081022//drivers/message/i2o/i2o_block.c:657): No description found for parameter 'bdev'
      Warning(linux-next-20081022//drivers/message/i2o/i2o_block.c:657): No description found for parameter 'mode'
      
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b77b0ef2
  13. Oct 27, 2008
  14. Oct 23, 2008
  15. Oct 21, 2008
    • Al Viro's avatar
      [PATCH] switch i2o · f3f6015b
      Al Viro authored
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      f3f6015b
    • Al Viro's avatar
      [PATCH] beginning of methods conversion · d4430d62
      Al Viro authored
      
      To keep the size of changesets sane we split the switch by drivers;
      to keep the damn thing bisectable we do the following:
      	1) rename the affected methods, add ones with correct
      prototypes, make (few) callers handle both.  That's this changeset.
      	2) for each driver convert to new methods.  *ALL* drivers
      are converted in this series.
      	3) kill the old (renamed) methods.
      
      Note that it _is_ a flagday; all in-tree drivers are converted and by the
      end of this series no trace of old methods remain.  The only reason why
      we do that this way is to keep the damn thing bisectable and allow per-driver
      debugging if anything goes wrong.
      
      New methods:
      	open(bdev, mode)
      	release(disk, mode)
      	ioctl(bdev, mode, cmd, arg)		/* Called without BKL */
      	compat_ioctl(bdev, mode, cmd, arg)
      	locked_ioctl(bdev, mode, cmd, arg)	/* Called with BKL, legacy */
      
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      d4430d62
  16. Oct 16, 2008
    • Alan Cox's avatar
      i2o: Fix 32/64bit DMA locking · 9d793b0b
      Alan Cox authored
      
      The I2O ioctls assume 32bits.  In itself that is fine as they are old
      cards and nobody uses 64bit.  However on LKML it was noted this
      assumption is also made for allocated memory and is unsafe on 64bit
      systems.
      
      Fixing this is a mess.  It turns out there is tons of crap buried in a
      header file that does racy 32/64bit filtering on the masks.
      
      So we:
      - Verify all callers of the racy code can sleep (i2o_dma_[re]alloc)
      - Move the code into a new i2o/memory.c file
      - Remove the gfp_mask argument so nobody can try and misuse the function
      - Wrap a mutex around the problem area (a single mutex is easy to do and
        none of this is performance relevant)
      - Switch the remaining problem kmalloc holdout to use i2o_dma_alloc
      
      Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
      Cc: Vasily Averin <vvs@sw.ru>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      9d793b0b
  17. Jul 27, 2008
  18. Jul 26, 2008
  19. Jul 24, 2008
  20. Jul 21, 2008
  21. Jul 12, 2008
  22. Jul 08, 2008
  23. Jul 02, 2008
  24. Jun 20, 2008
  25. Jun 05, 2008
  26. May 27, 2008
    • Michael Reed's avatar
      [SCSI] fusion mpt: fix target missing after resetting external raid · 7ba2db5f
      Michael Reed authored
      
      Following a hard reset of a SAS raid, one of the raid targets is occasionally
      missing.  I tracked this down to a pretty obscure little bug.
      
      The LSI fusion drivers for SAS and Fibre Channel both use their respective
      transport layers.  Those transport layers increment the target number
      assigned to new targets.
      
      The routine __scsi_scan_target uses the "this_id" element of the Scsi_Host
      structure to avoid scanning the scsi host adapter.  Both fusion drivers set
      "this_id" from a value returned in a firmware PortFacts response.  For my
      particular test case (SAS) the firmware id assigned to the initiator was
      173.  After enough raid resets to cause the raid targets to go and come a
      sufficient number of times, the id assigned by the transport to a raid
      target would match the id assigned by the host adapter to the "this_id"
      field, resulting in that target not being scanned.
      
      Fix by not assigning this_id and not checking it in slave_configure. 
      
      Signed-off-by: default avatarMichael Reed <mdr@sgi.com>
      Acked-by: default avatar"Moore, Eric" <Eric.Moore@lsi.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
      7ba2db5f
  27. Apr 29, 2008
Loading