1. 26 Sep, 2003 40 commits
    • Steven Dake's avatar
      [PATCH] fix kernel BUG using multipath · a888efe7
      Steven Dake authored
      Thanks Matt and Jens for the debug help on the multipath problem. 
      
      This solves the problem and makes multipath work properly.
      
      There are two types of "flags" that are used in a block io request,
      bi_flags, and bi_rw.  bi_flags is used for flags to the block level
      code, and bi_rw is used for flags to the low level device drivers.
      
      The code in the multipath driver used the wrong flag in the wrong field.
      In this case, the flag FASTFAIL (value 3) was being set to the bi_flags
      field.  FASTFAIL is a hint to the low level driver that it should try to
      fail out quickly.  Unfortunately, the value 3 is also BIO_SEG_VALID,
      which is a flag to the block subsystem that the segments shouldn't be
      recalculated.  The result was that the wrong field was set, telling the
      block layer not to recalculate the segments resulting in phys and hw
      segments of 0.  Not good.
      a888efe7
    • Patrick Mochel's avatar
      [PATCH] sysfs dput crash fix · 7dbb30bf
      Patrick Mochel authored
      This is a new patch that includes Martin's, and makes create_dir() return
      an int. That matches sysfs_create_file(), and saves a couple of
      conversions back and forth between pointer and error.
      7dbb30bf
    • Linus Torvalds's avatar
      Mark PM_DISK_PARTITION as depending on PM_DISK, so as to · 55b6936d
      Linus Torvalds authored
      avoid an annoying nonsense configuration question.
      55b6936d
    • Linus Torvalds's avatar
    • Andi Kleen's avatar
      [PATCH] Another small x86-64 merge · ff69e5d9
      Andi Kleen authored
       - Remove obsolete wrong do_magic prototype
       - Remove the dependency between ACPI_SLEEP and SOFTWARE_SUSPEND
         some people complained about. Works the same as i386 now.
       - Fix another gcc 3.3 warning in reboot.c
       - Default NMI watchdog to LOCAL_APIC because that works on more
         boxes
      ff69e5d9
    • Randy Dunlap's avatar
      [PATCH] janitor: serial/tx3912: remove unneeded verify_area calls · 1a1a20cc
      Randy Dunlap authored
      From: Domen Puncer <domen@coderock.org>
      1a1a20cc
    • Randy Dunlap's avatar
      [PATCH] janitor: intermezzo: clean up #includes · 9fe9ad42
      Randy Dunlap authored
      From: Randy Hron <rwhron@earthlink.net>
      
      Remove duplicate #includes from fs/intermezzo.
      9fe9ad42
    • Randy Dunlap's avatar
      [PATCH] janitor: isdn: remove verify_area calls · 2a03a5bf
      Randy Dunlap authored
      From: Domen Puncer <domen@coderock.org>
      
      The verify_area's are not needed.
      2a03a5bf
    • Randy Dunlap's avatar
      [PATCH] janitor: cleanup includes in tc/zs · 18bdd3fd
      Randy Dunlap authored
      From: Randy Hron <rwhron@earthlink.net>
      
      Remove unnecessary include of version.h in drivers/tc/
      18bdd3fd
    • Randy Dunlap's avatar
      [PATCH] janitor: h8300: put_user for error handling · ff356a63
      Randy Dunlap authored
      From: Domen Puncer <domen@coderock.org>
      
      verify_area isn't needed.
      ff356a63
    • Randy Dunlap's avatar
      [PATCH] jantior: coda: userspace error handling · 3c7e45bd
      Randy Dunlap authored
      From: Domen Puncer <domen@coderock.org>
      
      Drop verify_area, using copy*user already (instead).
      Also user -EFAULT for error instead of -EINVAL.
      3c7e45bd
    • Randy Dunlap's avatar
      [PATCH] janitor: clean up newlines · 81046ff7
      Randy Dunlap authored
      From: maximilian attems <janitor@sternwelten.at>
      
      this patches catches obvious mistyping of new line:
      /n versus \n
      adds a printk loglevel to one of the erroneous lines
      81046ff7
    • Randy Dunlap's avatar
      [PATCH] janitor: rio_linux: user get/put_user for errors (not · e02f27ca
      Randy Dunlap authored
      From: Domen Puncer <domen@coderock.org>
      e02f27ca
    • Randy Dunlap's avatar
      [PATCH] janitor: cleanup includes in fs/ · acf658db
      Randy Dunlap authored
      From: Randy Hron <rwhron@earthlink.net>
      
      Remove duplicate #includes in fs/
      Remove version.h includes where they aren't necessary.
      Test compiled on 2.6.0-test5-bk9.
      acf658db
    • Randy Dunlap's avatar
      [PATCH] janitor: isdn: remove unneeded verify_area calls · e6a5383f
      Randy Dunlap authored
      From: Domen Puncer <domen@coderock.org>
      
      Deleted unneeded verify_area calls.
      Also commented a label.
      e6a5383f
    • Randy Dunlap's avatar
      [PATCH] jantior: sx: use get/put_user (remove verify_area) · fd74e378
      Randy Dunlap authored
      From: Domen Puncer <domen@coderock.org>
      
      Use get_user/put_user to check user addressing,
      don't need to use verify_area also.
      fd74e378
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/sparc-2.5 · 541f1064
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      541f1064
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.5 · daa1df14
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      daa1df14
    • Martin Schwidefsky's avatar
      [PATCH] s390: remove outdated code. · 185fe116
      Martin Schwidefsky authored
      Remove outdated ipl records from arch/s390/boot. They are now part of
      the s390-tools package.
      185fe116
    • Martin Schwidefsky's avatar
      [PATCH] s390: documentation. · 13ac1a3c
      Martin Schwidefsky authored
      s390 documentation changes.
      13ac1a3c
    • Martin Schwidefsky's avatar
      [PATCH] s390: vt220 console. · ef27be58
      Martin Schwidefsky authored
      Add support for vt220 console over sclp.
      ef27be58
    • Martin Schwidefsky's avatar
      [PATCH] s390: qeth driver. · 49553319
      Martin Schwidefsky authored
       - Create symlinks between netdev and groupdev.
       - Remove initialization of device.name.
       - Call qeth_free_card on removal.
       - Remove async hsi.
       - Remove contig memusage.
       - Add check for -EFAULT to copy_from_user/copy_to_user.
       - Inlining some functions to save kernel stack space.
       - vlan header fixes.
       - Replace atomic_return_sub with atomic_add_return.
      49553319
    • Martin Schwidefsky's avatar
      [PATCH] s390: lcs driver. · f4a19003
      Martin Schwidefsky authored
       - Add type and timeout attribute.
       - Create symlinks between netdev and groupdev.
       - Remove initialization of device.name.
      f4a19003
    • Martin Schwidefsky's avatar
      [PATCH] s390: iucv driver. · 63c85307
      Martin Schwidefsky authored
       - Move iucv bus and root device initialization from netiucv to iucv.
       - Fix race condition in iucv_connect.
       - Add 'user' attribute to netiucv driver.
      63c85307
    • Martin Schwidefsky's avatar
      [PATCH] s390: ctc driver. · 36e9a080
      Martin Schwidefsky authored
       - Add type attribute.
       - Remove initialization of device.name.
       - Remove unnecessary include.
      36e9a080
    • Martin Schwidefsky's avatar
      [PATCH] s390: tape driver. · f0711455
      Martin Schwidefsky authored
       - Fix use of tape block request queue pointer.
       - Remove unnecessary includes.
      f0711455
    • Martin Schwidefsky's avatar
      [PATCH] s390: dasd partitions. · 864ba9cd
      Martin Schwidefsky authored
      Fix bug in CMS label recognition in ibm.c
      864ba9cd
    • Martin Schwidefsky's avatar
      [PATCH] s390: dasd driver. · ba94c1b2
      Martin Schwidefsky authored
       - Do add_disk even for unformatted devices to be able to format them.
       - Remove initialization of device.name.
       - Export some functions.
      ba94c1b2
    • Martin Schwidefsky's avatar
      [PATCH] s390: xpram driver. · 0214410a
      Martin Schwidefsky authored
       - Make xpram work on 64 bit machines.
       - Use new-style module_param.
      0214410a
    • Martin Schwidefsky's avatar
      [PATCH] s390: Kconfig. · c530119e
      Martin Schwidefsky authored
       - Use common drivers/block/Kconfig instead of own config options, move
         s390 block device config options to drivers/s390/block/Kconfig and
         include it from drivers/block/Kconfig.
       - Fix configuration combination CONFIG_IPV6=m and CONFIG_QETH=y.
       - New default configuration.
      c530119e
    • Martin Schwidefsky's avatar
      [PATCH] s390: sysfs_create_group. · e3f4c34c
      Martin Schwidefsky authored
      Make use of sysfs_create_group in s390 device drivers.
      e3f4c34c
    • Martin Schwidefsky's avatar
      [PATCH] s390: system call restart bug. · b18c1e47
      Martin Schwidefsky authored
      Fix restarting of system calls done by use of the execute instruction.
      b18c1e47
    • Martin Schwidefsky's avatar
      [PATCH] s390: system tick misaccounting. · 04886c76
      Martin Schwidefsky authored
      Fix system tick misaccounting problem.
      04886c76
    • Martin Schwidefsky's avatar
      [PATCH] s390: micro optimizations. · da822b83
      Martin Schwidefsky authored
       - Put cpu number to lowcore.
       - Put percpu_offset to lowcore.
       - Put current pointer to lowcore.
       - Replace barrier() with cpu_relax().
      da822b83
    • Martin Schwidefsky's avatar
      [PATCH] s390: 31 bit compat. · 5df799ac
      Martin Schwidefsky authored
       - Fix emulation of sys_sysinfo and sys_clone.
       - Add code for -ERESTART_RESTARTBLOCK in signal emulation.
       - Fix ptrace peek/poke for 31 bit programs under a 64 bit kernel.
       - Fix typos in cp_stat64.
      5df799ac
    • Martin Schwidefsky's avatar
      [PATCH] s390: common i/o layer. · 03cd7b46
      Martin Schwidefsky authored
       - Remove initialization of device.name.
       - Don't do put_device after failed get_device in get_ccwdev_by_busid.
       - Fix read_dev_chars and read_conf_data.
       - Call interrupt function of ccw device if path verification has been started.
       - Replace atomic_return_add by atomic_add_return in qdio.
       - Use wait_event instead of homegrown wait loop.
       - Fix reestablish queue problem.
       - Add ungroup attribute to ccw_group devices and add links from each
         ccw device of a group to the group device.
       - Use BUS_ID_SIZE instead of DEVICE_ID_SIZE.
       - Delay path verification if a basic sense is required.
       - Move qdio shutdown code from qdio_free to qdio_shutdown.
      03cd7b46
    • Martin Schwidefsky's avatar
      [PATCH] s390: arch fixes. · 7d853ae3
      Martin Schwidefsky authored
       - Fix cflags for z990 compiles.
       - Rename resume to __switch_to to avoid name clash.
       - Fix show_trace and show_stack.
       - Add alignments to linker script.
       - Add atomic64_t and related funtions.
       - Add include/asm-s390/local.h
       - Fix 31 bit get_user for 8 byte values.
       - Fix show_regs oops.
       - Add a couple of might_sleep() calls.
       - Fix loading of modules with a BIG symbol table.
       - Fix inline asm constraint in __get_user_asm_1
       - Fix nested irq_enter bug on shutdown.
       - Add sched_clock function.
      7d853ae3
    • Nick Piggin's avatar
      [PATCH] fix AS crappy performance · 41b986b6
      Nick Piggin authored
      A while ago some guy complained that his server connections / sec was
      way down due to AS. The server would fork a process which would then read
      some tiny bit of random data and hang around for a while doing nothing.
      This defeated all AS's heuristics, and due to a new process being a good
      anticipation candidate by default, his performance went bad.
      
      The fix was just to treat new processes as being unsuitable for
      anticipation. Fixed. Unfortunately ls, cat, grep, small programs
      starting up, find | xargs, etc only submit a couple of requests, and they
      really want anticipation to be on.
      
      This patch keeps a simple goodness value per queue based on how successful
      anticipation has been for new processes.
      41b986b6
    • Nick Piggin's avatar
      [PATCH] fix AS hangs · 5daa5a40
      Nick Piggin authored
      Clears the next_arq cache if a request is repositioned and added as an alias
      behind another.  Should fix the BUGs which Mary Edie Meredith has been
      reporting.
      
      Also, fixes a few random (but harmless) cases where last_merge was being set
      and causing warnings.
      
      When 2 requests are merged, and one is thrown away, move its alias list onto
      the merged request! This is likely to be the cause of Mary's hangs.
      5daa5a40
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/vojtech/input · 91b8e4de
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      91b8e4de