1. 04 Apr, 2002 15 commits
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/fs-2.5 · f31667a3
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      f31667a3
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/irda-2.5 · c3b7d589
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      c3b7d589
    • Linus Torvalds's avatar
      19c8fc5a
    • Linus Torvalds's avatar
      Merge · b749567a
      Linus Torvalds authored
      b749567a
    • Robert Love's avatar
      [PATCH] kjournald exits with nonzero preempt_count · 023f147f
      Robert Love authored
      The preempt_count debug check that went into 2.5.8-pre1 already caught a
      simple case in kjournald.  Specifically, kjournald does not drop the BKL
      when it exits as it knows schedule will do so for it.
      
      For the sake of clarity and exiting with a preempt_count of zero, the
      attached patch explicitly calls unlock_kernel when kjournald is exiting.
      023f147f
    • Linus Torvalds's avatar
      faaadc0c
    • Andrew Morton's avatar
      ext3 filesystem sync mount speedup: · 6bcbc73a
      Andrew Morton authored
      Again, we don't need to sync indirects as we dirty them because
      we run a commit if IS_SYNC(inode) prior to returning to the
      caller of write(2).
      
      Writing a 10 meg file in 0.1 meg chunks is sped up by, err,
      a factor of fifty.  That's a best case.
      6bcbc73a
    • Jeff Garzik's avatar
      Andrew Morton's ext2 sync mount speedup. Description: · 9950435b
      Jeff Garzik authored
      At present, when mounted synchronously or with `chattr +S' in effect,
      ext2 syncs the indirect blocks for every new block when extending a
      file.
      
      This is not necessary, because a sync is performed on the way out of
      generic_file_write().  This will pick up all necessary data from
      inode->i_dirty_buffers and inode->i_dirty_data_buffers, and is
      sufficient.
      
      The patch removes all the syncing of indirect blocks.
      
      On a non-write-caching scsi disk, an untar of the util-linux tarball
      runs three times faster.  Writing a 100 megabyte file in one megabyte
      chunks speeds up ten times.
      
      The patch also removes the intermediate indirect block syncing on the
      truncate() path.  Instead, we sync the indirects at a single place, via
      inode->i_dirty_buffers.  This not only means that the writes (may)
      cluster better.  It means that we perform much, much less actual I/O
      during truncate, because most or all of the indirects will no longer be
      needed for the file, and will be invalidated.
      
      fsync() and msync() still work correctly.  One side effect of this
      patch is that VM-initiated writepage() against a file hole will no
      longer block on writeout of indirect blocks.  This is good.
      9950435b
    • Andrew Morton's avatar
      This fixes the "i_blocks went wrong when the disk filled up" · b1a5f642
      Andrew Morton authored
      problem.
      
      In ext3_new_block() we increment i_blocks early, so the
      quota operation can be performed outside lock_super().
      But if the block allocation ends up failing, we forget to
      undo the allocation.  
      
      This is not a serious bug, and probably does not warrant
      an upgrade for production machines.  Its effects are:
      
      1) errors are generated from e2fsck and
      
      2) users could appear to be over quota when they really aren't.
      
      The patch undoes the accounting operation if the allocation
      ends up failing.
      b1a5f642
    • Jean Tourrilhes's avatar
      b5f52d99
    • Jean Tourrilhes's avatar
      IrDA: handle new NSC chip variant · 7f8b59ef
      Jean Tourrilhes authored
      7f8b59ef
    • Jean Tourrilhes's avatar
      IrDA USB disconnect changes: · af904a02
      Jean Tourrilhes authored
      o [CRITICA] Fix race condition between disconnect and the rest
      o [CRITICA] Force synchronous unlink of URBs in disconnect
      o [CRITICA] Cleanup instance if disconnect before close
              <Following patch from Martin Diehl>
      o [CRITICA] Call usb_submit_urb() with GPF_ATOMIC
      af904a02
    • Jean Tourrilhes's avatar
      IrDA discovery fixes: · f289ef5a
      Jean Tourrilhes authored
      o [FEATURE] Propagate mode of discovery to higher protocols
      o [CORRECT] Disable passive discovery in ircomm and irlan
        Prevent client and server to simultaneously connect to each other
      o [CORRECT] Force expiry of discovery log on LAP disconnect
      f289ef5a
    • Jean Tourrilhes's avatar
      IrDA: Correct fix for IrNET disconnect indication : · 0a082824
      Jean Tourrilhes authored
      if socket is not connected, don't hangup, to allow passive operation
      0a082824
    • Jean Tourrilhes's avatar
  2. 03 Apr, 2002 25 commits