1. 14 Jul, 2002 9 commits
    • Andrew Morton's avatar
      [PATCH] fix O_DIRECT oops · e4e4cd48
      Andrew Morton authored
      inode->i_sb->s_bdev is NULL when the inode refers to a blockdev.
      Use the get_block() result instead.
      e4e4cd48
    • Andrew Morton's avatar
      [PATCH] direct-to-BIO for O_DIRECT · 42ec8bc1
      Andrew Morton authored
      Here's a patch which converts O_DIRECT to go direct-to-BIO, bypassing
      the kiovec layer.  It's followed by a patch which converts the raw
      driver to use the O_DIRECT engine.
      
      CPU utilisation is about the same as the kiovec-based implementation.
      Read and write bandwidth are the same too, for 128k chunks.   But with
      one megabyte chunks, this implementation is 20% faster at writing.
      
      I assume this is because the kiobuf-based implementation has to stop
      and wait for each 128k chunk, whereas this code streams the entire
      request, regardless of its size.
      
      This is with a single (oldish) scsi disk on aic7xxx.  I'd expect the
      margin to widen on higher-end hardware which likes to have more
      requests in flight.
      
      Question is: what do we want to do with this sucker?  These are the
      remaining users of kiovecs:
      
      	drivers/md/lvm-snap.c
      	drivers/media/video/video-buf.c
      	drivers/mtd/devices/blkmtd.c
      	drivers/scsi/sg.c
      
      the video and mtd drivers seems to be fairly easy to de-kiobufize.
      I'm aware of one proprietary driver which uses kiobufs.  XFS uses
      kiobufs a little bit - just to map the pages.
      
      So with a bit of effort and maintainer-irritation, we can extract
      the kiobuf layer from the kernel.
      42ec8bc1
    • Martin Dalecki's avatar
      [PATCH] IDE 98 · 2dbd1502
      Martin Dalecki authored
      Synchronize with 2.5.25.
      
      Incorporate IDE-94, as well as 95, 96, 97 and 98-pre as announced by Bartek and
      unfortunately still not included in 2.5.25, which makes admittedly things
      still fall appart:
      
      Missing changelog for 98-pre by Bartlomiej Zolnierkiewicz (BTW.  Handling
      Unicode should be essential at least to make proper crediting of many many
      peoples possible!) follows here:
      
       - add missing channel->lock unlocking/locking and fix some comments
         in ide_timer_expiry()
      
       - allow PCI drivers to disable autodma in ->init_dma()
         (bug introduced in IDE 97, affects sl82c105.c only)
      
         noticed by Russell King
      
       - alim15x3.c, if revision is <= 0x20 disable autodma
      
       - remove unneeded checks (drive.dn > 3) from pdc202xx.c and sis5513.c
      
       - use block layer wrappers
      
      And my additions follow:
      
       - Fix TCQ code. Patch based on work by Alexander Atanasov.
      
       - Use the FreeBSD derived request handler return values:
      
      	ATA_OP_FINISHED
      	ATA_OP_CONTINUES
      	ATA_OP_RELEASED
      	ATA_OP_READY	/* for status ready reporting during poll */
      
       - PMAC compilation fix by Paul Mackerras.
      
       - Simplify the ata_status_poll function significantly.
      
       - Fix logic used to prevent drive IRQ assertion from drive on channels sharing
         our interrupt.
      
      NOTE: We will move it later to the time where a request is really finished
      soon.
      
       - Don't use ata_busy_poll() use ata_status_poll() instead. This increases code
         unification.
      
      NOTE: We should maybe invent some way to prevent the error recovery path to be
      taken at all. In esp to prevent ata_error from trying to reissue commands.
      2dbd1502
    • Rusty Russell's avatar
      [PATCH] A fix for futex · 5b2a1577
      Rusty Russell authored
      "getpid()" returns "tgid" not "pid", so this is correct.
      
      Fix from Saurabh Desai.
      5b2a1577
    • Linus Torvalds's avatar
      Mark the dentry referenced at dput time. · afa29791
      Linus Torvalds authored
      afa29791
    • Alexander Viro's avatar
      [PATCH] futex filesystem handling · f70158b9
      Alexander Viro authored
      Eeek....
      
      futex.c is seriously b0rken.
      f70158b9
    • Ben Collins's avatar
      [PATCH] IEEE1394 updates · ca3dd564
      Ben Collins authored
      This is against 2.5.25. Lots of fixes. Brings things inline with 2.5.25.
      Probably makes the subsystem actually work now (well, it will work, but
      I bet without it, it doesn't). Merged in changes from the current 2.5.x
      source.
      ca3dd564
    • Linus Torvalds's avatar
      Only allow sendfile() on destination descriptors that know · 3617d270
      Linus Torvalds authored
      about the "sendpage()" callback. Don't try to fall back on
      a write with the page kmap'ed
      3617d270
    • Linus Torvalds's avatar
      Merge http://linux-ntfs.bkbits.net/ntfs-tng-2.5 · 6ba24a9c
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      6ba24a9c
  2. 15 Jul, 2002 1 commit
    • Anton Altaparmakov's avatar
      NTFS: 2.0.20 - Support non-resident directory index bitmaps, fix page leak in readdir. · a5ea1066
      Anton Altaparmakov authored
      - Move the directory index bitmap to use an attribute inode instead of
        having special fields for it inside the ntfs inode structure. This
        means that the index bitmaps now use the page cache for i/o, too,
        and also as a side effect we get support for non-resident index
        bitmaps for free.
      - Simplify/cleanup error handling in fs/ntfs/dir.c::ntfs_readdir() and
        fix a page leak that manifested itself in some cases.
      - Add fs/ntfs/inode.c::ntfs_put_inode(), which we need to release the
        index bitmap inode on the final iput().
      a5ea1066
  3. 14 Jul, 2002 5 commits
  4. 13 Jul, 2002 2 commits
    • David S. Miller's avatar
      Sparc64: Update defconfig. · 1fcab22d
      David S. Miller authored
      1fcab22d
    • Anton Altaparmakov's avatar
      NTFS: 2.0.19 - Fix race condition, improvements, and optimizations in i/o interface. · 1138bf4c
      Anton Altaparmakov authored
      - Apply block optimization added to fs/ntfs/aops.c::ntfs_read_block()
        to fs/ntfs/compress.c::ntfs_file_read_compressed_block() as well.
      - Drop the "file" from ntfs_file_read_compressed_block().
      - Rename fs/ntfs/aops.c::ntfs_enb_buffer_read_async() to
        ntfs_end_buffer_async_read() (more like the fs/buffer.c counterpart).
      - Update ntfs_end_buffer_async_read() with the improved logic from
        its updated counterpart fs/buffer.c::end_buffer_async_read(). Apply
        further logic improvements to better determine when we set PageError.
      - Update submission of buffers in fs/ntfs/aops.c::ntfs_read_block() to
        check for the buffers being uptodate first in line with the updated
        fs/buffer.c::block_read_full_page(). This plugs a small race
        condition.
      1138bf4c
  5. 12 Jul, 2002 13 commits
  6. 11 Jul, 2002 4 commits
  7. 10 Jul, 2002 5 commits
    • Russell King's avatar
      [ARM] Miscellaneous updates · fcbcfef5
      Russell King authored
      - Fix missed cli()/sti() conversions.
      - Fix SA1100 sleep code.
      - Update small_page.c for changes to struct page.
      - Clean up assabet/neponset initialisation.
      - Clean up compiler warnings in iop310 build.
      - Add missed bits from previous xscale cset.
      fcbcfef5
    • Russell King's avatar
      [ARM] StrongARM SA1111 cleanups · 89c248f7
      Russell King authored
      - Add sa1111_{dis,en}able_device()
      - Add sa1111_{read,write}l() (always host endian)
      89c248f7
    • Russell King's avatar
      [ARM] page fault handling updates · 5f563f59
      Russell King authored
      - FSR "write" bit moved from bit 8 to bit 11.
      - Handle bit 10 of FSR for xscale imprecise aborts.
      - Allow Xscale CP0 and CP13 accesses.
      - Move Xscale specific implementations to their own file.
      5f563f59
    • Russell King's avatar
      [ARM] ptrace cleanups. · 42fe00e8
      Russell King authored
      The major points are:
      - Move ptrace code from traps.c into ptrace.c so it's all in one place.
      - Correct get_user_regs() to allow for the 8 byte offset.
      - Fix missing ptrace_cancel_bpt() call which could miss some
        single stepping steps.
      (other small pages; for details see individual file notes)
      42fe00e8
    • Russell King's avatar
      [ARM] Fix ELF "HWCAP" flags for the various CPU types. · f0df3384
      Russell King authored
      Some of the CPU implementations copied the ELF flags from the
      StrongARM-110 implementation, without thinking whether they were
      correct or not.  This changeset fixes up these CPU types.
      f0df3384
  8. 09 Jul, 2002 1 commit
    • Russell King's avatar
      [ARM] General update of various ARM related files. · ce20ed85
      Russell King authored
      - Fix ARM Makefile; we now build with -Os instead of -O2.
      - Fix backtrace code to display more registers correctly.
      - Fix various build errors.
      - Fix PSR for architecture compliance.
      - Update mach-types file.
      ce20ed85