02 Feb, 2006

19 commits

  • Record I/O timing statistics

    The start time is added to struct dm_io, an existing structure allocated
    privately internally within dm and attached to each incoming bio.

    We export disk_round_stats() from block/ll_rw_blk.c instead of creating a
    private clone.

    Signed-off-by: Jun'ichi "Nick" Nomura
    Signed-off-by: Alasdair G Kergon
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jun'ichi "Nick" Nomura
     
  • Record basic I/O statistics for mapped devices.

    Signed-off-by: Kevin Corry
    Signed-off-by: Alasdair G Kergon
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kevin Corry
     
  • Reduce substantially the amount of code using PF_MEMALLOC, as envisaged in the
    original FIXME.

    If you're using lvm2, for this patch to work correctly you should update to
    lvm2 version 2.02.01 or later and device-mapper version 1.02.02 or later.

    Signed-off-by: Alasdair G Kergon
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alasdair G Kergon
     
  • Clean up the code responsible for the on-disk mirror logs by using the
    set_le_bit test_le_bit functions of ext2. That makes the BE machines keep the
    bitmap internally in LE order - it does mean you can't use any other type of
    operations on the bitmap words but that looks to be OK in this instance. The
    efficiency tradeoff is very minimal as you would expect for something that
    ext2 uses.

    This allows us to remove bits_to_core(), bits_to_disk() and log->disk_bits.

    Also increment the mirror log disk version transparently to avoid sharing with
    older kernels that suffered from the 64-bit BE bug.

    Signed-off-by: Patrick Caulfield
    Signed-off-by: Alasdair G Kergon
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Patrick Caulfield
     
  • Move snapshot metadata loading to happen when the table is created instead of
    when the device is resumed. Writes to the origin device don't trigger
    exceptions until each snapshot table becomes active when resume() is called on
    each snapshot.

    If you're using lvm2, for this patch to work properly you should update to
    lvm2 version 2.02.01 or later and device-mapper version 1.02.02 or later.

    Signed-off-by: Alasdair G Kergon
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alasdair G Kergon
     
  • fs/compat.c: In function `compat_sys_pselect7':
    fs/compat.c:1820: warning: passing arg 5 of `compat_core_sys_select' from incompatible pointer type

    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • It's not used. Fix the following on alpha-eb66 as a side effect:

    In file included from drivers/net/lp486e.c:75:
    include/asm/io.h:20:1: warning: "SLOW_DOWN_IO" redefined
    drivers/net/lp486e.c:59:1: warning: this is the location of the previous definition

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     
  • Signed-off-by: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     
  • Make the platform function interrupt functions actually work. Calls
    irq_enable() for the first in the list, and irq_disable() for the last.

    Added *func to struct irq_client so the the user can pass just that to
    pmf_unregister_irq_client().

    Signed-off-by: Ben Collins
    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Collins
     
  • Kernel 2.6.16-rc1 broke the ide-scsi driver: ide-scsi loads but fails to
    find any devices to bind to. It also triggers a message "Driver 'ide-scsi'
    needs updating - please use bus_type methods" from the driver core.

    The IDE core in 2.6.16-rc1 changed the location of an IDE driver's
    ->probe()/->remove()/->shutdown() methods: they are now in the ide_driver_t
    struct not in the gen_driver sub-struct. drivers/ide/ was updated for this
    change but ide-scsi.c wasn't. Hence the breakage.

    This patch repairs ide-scsi and also eliminates the driver core warning.

    Signed-off-by: Mikael Pettersson
    Cc: Russell King
    Cc: Greg KH
    Acked-by: Bartlomiej Zolnierkiewicz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mikael Pettersson
     
  • __meminit has overzelously been modified and crept its way into marking
    cpuup callbacks as __meminit.

    Signed-off-by: Ashok Raj
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ashok Raj
     
  • In 2.6.16-rc1 there is a small typo introduced by the 'Remove device_node
    addrs/n_addr' changes which prevents my Powerbook G4 sound from working:

    Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04 08:57:20 2006 UTC).
    snd: can't request rsrc 0 (Sound Control: 0x80000000:80004fff)
    ALSA device list:
    No soundcards found.

    The patch below fixes it. Of course, the patch fixing the i2c issues
    ('i2c_smbus_write_i2c_block_data' patch) needs to be applied to in order
    for the sound to completly work.

    Signed-off-by: Stelian Pop
    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Benjamin Herrenschmidt
     
  • While asynchronous reads mean a performance improvement in most cases, if
    the filesystem assumed that reads are synchronous, then async reads may
    degrade performance (filesystem may receive reads out of order, which can
    confuse it's own readahead logic).

    With sshfs a 1.5 to 4 times slowdown can be measured.

    There's also a need for userspace filesystems to know whether asynchronous
    reads are supported by the kernel or not.

    To achive these, negotiate in the INIT request whether async reads will be
    used and the maximum readahead value. Update interface version to 7.6

    If userspace uses a version earlier than 7.6, then disable async reads, and
    set maximum readahead value to the maximum read size, as done in previous
    versions.

    Signed-off-by: Miklos Szeredi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Miklos Szeredi
     
  • An old patch designed to fix http://bugme.osdl.org/show_bug.cgi?id=4497,
    "getdents gives empty/random result upon signal".

    If smbfs's readdir() is interupted by a signal, smb_readdir() failed to
    noticed that and proceeded to treat the unread-into page as valid directory
    contents. Fix that up by handling the -ERESTARTSYS.

    Thanks to Stian Skjelstad for reporting and testing.

    Cc: Stian Skjelstad
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • Move CONFIG_DOUBLEFAULT from the main Kconfig menu (!) into its proper
    place: the "Processor Type and features" submenu.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     
  • A recent patch to
    Allow run-time selection of NFS versions to export

    meant that NO nfsacl service versions were exported. This patch restored
    that functionality.

    Signed-off-by: Andreas Gruenbacher
    Signed-off-by: Neil Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andreas Gruenbacher
     
  • Here's the follow-up patch which introduces the prototypes for the new
    syscalls. There was also a typo in one of the new symbols.

    Signed-off-by: Ulrich Drepper
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ulrich Drepper
     
  • Older pSeries systems with serial ports dont get any console output after
    recent changes. CONFIG_ISA does not make sense for CONFIG_PPC_PSERIES
    because it enables lots of old drivers. Instead, remove the dependency on
    CONFIG_ISA from the serial port discovery code.

    Signed-off-by: Olaf Hering
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Olaf Hering
     
  • We need to use the compat function here.

    Pointer out by Heiko Carstens

    Cc: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     

01 Feb, 2006

21 commits