1. 14 Aug, 2003 35 commits
    • Andrew Morton's avatar
      [PATCH] reiserfs: remove unneeded kunmap · a996a1cc
      Andrew Morton authored
      From: Oleg Drokin <green@namesys.com>
      
      There is a leftover kunmap in reiserfs_unprepare_pages() which was not
      deleted after conversion to kmap_atomic.  This path is virtually never
      executed, that's why it was not caught earlier.  Please apply.
      a996a1cc
    • Andrew Morton's avatar
      [PATCH] pipe.c: don't write to readonly filesystems · 3bc19c2a
      Andrew Morton authored
      The pipe code's mtime and ctime updates are causing writes to read-only
      mounted filesystems.
      
      Fix that up by teaching inode_update_time() to honour readonly mounts, and
      call it from the pipe code.
      3bc19c2a
    • Andrew Morton's avatar
      [PATCH] standalone elevator noop · 03497495
      Andrew Morton authored
      From: Nick Piggin <piggin@cyberone.com.au>
      
      Following patch seperates elevator noop, and allows it to be treated
      like the other schedulers.
      03497495
    • Andrew Morton's avatar
      [PATCH] AS requeue implementation · 9633628e
      Andrew Morton authored
      From: Mark Haverkamp <markh@osdl.org>
      
      Properly implement elevator_t..elevator_requeue_req_fn for the anticipatory
      scheduler.
      
      This fixes some rarely-occurring oops in the IO scheduler.
      9633628e
    • Andrew Morton's avatar
      [PATCH] AS: no trinary states · 27f3c465
      Andrew Morton authored
      From: Nick Piggin <piggin@cyberone.com.au>
      
      Gets rid of the silly (and undocumented) trinary stateness of
      ad->changed_batch.
      
      Kernel style flags field could now save 20 bytes per asd (request queue) and
      4 per arq.  But I figure that change can wait until I do autotuning...
      27f3c465
    • Andrew Morton's avatar
      [PATCH] AS: remove hash valid stuff · 4f0c0d09
      Andrew Morton authored
      From: Nick Piggin <piggin@cyberone.com.au>
      
      The crazy HASH_VALID stuff now makes no difference now.  It was there to
      try to enforce no merging over a barrier, but it turned out that requests
      can just be reordered.  Jens picked this up a a while ago and fixed
      deadline (and I AS) by simply dispatching all reqs on the queue on
      encountering a barrier.  The hash valid stuff didn't get cleaned up.
      4f0c0d09
    • Andrew Morton's avatar
      [PATCH] timer race fixes · c49d8060
      Andrew Morton authored
      From: Ingo Molnar <mingo@elte.hu>
      
      It unifies the functionality of add_timer() and mod_timer(), and makes any
      combination of the timer API calls completely SMP-safe.  del_timer() is still
      not using the timer lock.
      
      this patch fixes the only timer bug in 2.6 i'm aware of: the del_timer_sync()
      + add_timer() combination in kernel/itimer.c is buggy.  This was correct code
      in 2.4, because there it was safe to do an add_timer() from the timer handler
      itself, parallel to a del_timer_sync().
      
      If we want to make this safe in 2.6 too (which i think we want to) then we
      have to make add_timer() almost equivalent to mod_timer(), locking-wise.  And
      once we are at this point i think it's much cleaner to actually make
      add_timer() a variant of mod_timer().  (There's no locking cost for
      add_timer(), only the cost of an extra branch.  And we've removed another
      commonly used function from the icache.)
      c49d8060
    • Andrew Morton's avatar
      [PATCH] missing #if for 1000 HZ · 752274c9
      Andrew Morton authored
      From: Albert Cahalan <albert@users.sourceforge.net>
      
      This should improve timekeeping a bit @ 1000 HZ.
      752274c9
    • Andrew Morton's avatar
      [PATCH] Fix raid "bio too big" failures · d2e45eac
      Andrew Morton authored
      From: Neil Brown <neilb@cse.unsw.edu.au>
      
      Fix "bio too big" problem with md
      
      Whenever a device is attached to an md device, we make sure the sector
      limits of the md device do not exceed those of the added device.
      d2e45eac
    • Andrew Morton's avatar
      [PATCH] sys_fadvise64_64 · 94e77119
      Andrew Morton authored
      Alas, both POSIX and I got the fadvise() interface wrong.  It needs to take a
      64-bit length, not a 32-bit one.  Because fadvise(POSIX_FADV_DONTNEED) on a
      4TB file will require 1000 syscalls.  Silly.
      
      There are glibc's in the wild which use the existing syscall, so we must
      make a new one.
      94e77119
    • Andrew Morton's avatar
      [PATCH] fadvise(POSIX_FADV_DONTNEED) fix · 7161ee20
      Andrew Morton authored
      invalidate_mapping_pages() takes start/end, but fadvise is currently passing
      it start/len.
      7161ee20
    • Linus Torvalds's avatar
      DRI CVS update: bump i810 driver to 1.4. · 310b411f
      Linus Torvalds authored
      This fixes the DMA interface to be backwards compatible with older
      XFree86 versions, by looking at the I810_INIT_DMA parameters and
      figuring out old version semantics.
      310b411f
    • Linus Torvalds's avatar
    • Linus Torvalds's avatar
      Mark CLONE_DETACHED as being irrelevant: it must match CLONE_THREAD. · 856c781e
      Linus Torvalds authored
      CLONE_THREAD without CLONE_DETACHED will now return -EINVAL, and
      for a while we will warn about anything that uses it (there are no
      known users, but this will help pinpoint any problems if somebody
      used to care about the invalid combination).
      856c781e
    • Christophe Saout's avatar
      [PATCH] Fix /sys/<dev>/<partition>/dev format: %04x -> %u:%u · 7ea448d5
      Christophe Saout authored
      A part of the 64 bit kdev_t patch already got merged, and it changes the
      format of /sys/block/<dev>/dev from %02x%02x to %u:%u.  The partition
      could must also be changed.
      
      e.g. cat /sys/block/hda/hda5/dev should return 3:5 instead of 0305
      7ea448d5
    • Fruhwirth Clemens's avatar
      [PATCH] Fix cryptoloop disk corruption under CBC mode · 5c470bbf
      Fruhwirth Clemens authored
      It was caused by improper IV calculation in loop.c
      5c470bbf
    • Fruhwirth Clemens's avatar
      [PATCH] Fix cryptoloop ECB mode · 808ebd4e
      Fruhwirth Clemens authored
      cryptoloop won't oops anymore if ECB mode is requested.
      808ebd4e
    • Andi Kleen's avatar
      [PATCH] Make x86-64 use new compat support code · 0dd316cb
      Andi Kleen authored
      Just call them from the x86-64 entry code.
      
      Also implement the x86-64 specific sys32_timer_create.
      0dd316cb
    • Andi Kleen's avatar
      [PATCH] add posix timer compat functions · 32065295
      Andi Kleen authored
      Add 32bit->64bit conversion functions for POSIX timers.
      
      I kept timer_create architecture specific, because it does signal specific
      stuff which is not portable enough for generic compat.
      32065295
    • Andi Kleen's avatar
      [PATCH] add compat_utimes · 97309749
      Andi Kleen authored
      Add compat_sys_utimes for 32bit->64bit utimes conversion
      97309749
    • Andi Kleen's avatar
      [PATCH] add compat_statfs64 · 91a8b0c4
      Andi Kleen authored
      Add compat_* functions for statfs64. The 32bit layout unfortunately
      does not match x86-64.
      91a8b0c4
    • Russell King's avatar
      [PATCH] Make modules work on ARM · 72d717bf
      Russell King authored
      This patch allows modules to work for ARM, and is the one thing which
      prevents the standard tree from building for any ARM machine.
      
      After reviewing the /proc/kcore and kclist issues, I've decided that I'm
      no longer prepared to even _think_ about supporting /proc/kcore on ARM -
      it just gets too ugly, and adds too much code to make it worth the effort,
      the time or the energy to implement a solution to that problem.
      
      /proc/kcore should probably go away, but in the meantime this just allows
      ARM to ignore the issues.
      72d717bf
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] ide: some CodingStyle fixes from 2.4.x for ide-tape.c · 0371b9a3
      Bartlomiej Zolnierkiewicz authored
      makes 2.4->2.6 diff noticeable smaller
      0371b9a3
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] ide: remove bogus bh->bio conversion from ide-tape.c · 8f7ea5e8
      Bartlomiej Zolnierkiewicz authored
      and add stripped down buffer_head variant (struct idetape_bh).
      
      ide-tape is accessed by a char device (not a block one!),
      it uses block layer only to queue requests.
      8f7ea5e8
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] ide: build fixes for ide-tape.c · a04c895e
      Bartlomiej Zolnierkiewicz authored
      also add missing Kconfig help entry from 2.4.x
      a04c895e
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] ide: more ide_unregister() fixes · 8ca7b325
      Bartlomiej Zolnierkiewicz authored
      - more locking fixes
      - preserve gendev.parent of the old hwif in the new one
      8ca7b325
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] ide: limit drive capacity to 137GB if host doesn't support LBA48 · a5abd260
      Bartlomiej Zolnierkiewicz authored
      Noticed by Andries.Brouwer@cwi.nl.
      
      Also:
      - kill probe_lba_addressing() wrapper
      - rename hwif->addressing to hwif->no_lba48
      a5abd260
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] ide: always store disk capacity in u64 · 79d0f514
      Bartlomiej Zolnierkiewicz authored
      From Andries.Brouwer@cwi.nl.
      
      - always use drive->capacity48 and kill drive->capacity
      
      I've changed drive->capacity48 to drive->capacity64 to avoid confusion.
      79d0f514
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] ide: disk geometry/capacity cleanups · 84fdbcf2
      Bartlomiej Zolnierkiewicz authored
      From Andries.Brouwer@cwi.nl.
      
      - kill redundant, never executed code in lba_capacity_is_ok()
      - add idedisk_supports_{hpa,lba48}() helpers
      - don't recalculate drive->cyl for drives using LBA addressing,
        we never fall-back to CHS, so its useless and confusing
      - remove wrong drive->head and drive->sect assignments for LBA-48
      - don't overwrite id->lba_capacity and id->lba_capacity_2
      84fdbcf2
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] kill HDIO_GETGEO_BIG_RAW ioctl · e71c9413
      Bartlomiej Zolnierkiewicz authored
      HDIO_GETGEO_BIG_RAW is an ide specific hack introduced in 2.3.99-pre3.
      There are no known programs using this ioctl.
      
      Its aim was to provide current CHS translation to the user-space,
      but very often it provides what driver thinks is a current translation
      (drive with LBA have to support only one physical translation, also
       drive may not support chosen translation and there is no return value check).
      
      hdparm -I can be used instead, it provides correct information
      (and bogus data is still accessible through /proc/ide/hdX/geometry).
      e71c9413
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/lord/xfs-2.5 · 5ae1a1f8
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      5ae1a1f8
    • Stephen Lord's avatar
      Merge ssh://lord@kernel.bkbits.net/xfs-2.5 · 130b6627
      Stephen Lord authored
      into jen.americas.sgi.com:/src/lord/bitkeeper/xfs-2.5
      130b6627
    • Nathan Scott's avatar
      [XFS] Fix a race condition in async pagebuf IO completion, · 87f3eb7a
      Nathan Scott authored
      by moving blk queue manipulation down into pagebuf. 
      Fix some busted comments in page_buf.h, use a more
      descriptive name for __pagebuf_iorequest.
      
      SGI Modid: 2.5.x-xfs:slinx:155788a
      87f3eb7a
    • Michael Plump's avatar
      [PATCH] Correct DEVPTS config help · f793f34c
      Michael Plump authored
      The help for CONFIG_DEVPTS_FS claims that devfs "is a more general
      facility".  But that apparently hasn't been true since 2.5.68.  This patch
      removes that claim, and adds a warning to the DEVFS_FS help.
      f793f34c
    • Linus Torvalds's avatar
      Merge http://linux-acpi.bkbits.net/linux-acpi · ec19fa69
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      ec19fa69
  2. 13 Aug, 2003 5 commits