1. 19 9月, 2006 3 次提交
    • S
      [GFS2] Tweek unlock test in readpage() · 07903c02
      Steven Whitehouse 提交于
      This make the unlock test a bit simpler.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      07903c02
    • R
      [GFS2] Fix for mmap() bug in readpage · dc41aeed
      Russell Cattelan 提交于
      Fix for Red Hat bz 205307. Don't need to lock in readpage if
      the higher level code has already grabbed the lock.
      Signed-off-by: NRussell Cattelan <cattelan@redhat.com>
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      dc41aeed
    • S
      [GFS2] Map multiple blocks at once where possible · 7a6bbacb
      Steven Whitehouse 提交于
      This is a tidy up of the GFS2 bmap code. The main change is that the
      bh is passed to gfs2_block_map allowing the flags to be set directly
      rather than having to repeat that code several times in ops_address.c.
      
      At the same time, the extent mapping code from gfs2_extent_map has
      been moved into gfs2_block_map. This allows all calls to gfs2_block_map
      to map extents in the case that no allocation is taking place. As a
      result reads and non-allocating writes should be faster. A quick test
      with postmark appears to support this.
      
      There is a limit on the number of blocks mapped in a single bmap
      call in that it will only ever map blocks which are pointed to
      from a single pointer block. So in other words, it will never try
      to do additional i/o in order to satisfy read-ahead. The maximum
      number of blocks is thus somewhat less than 512 (the GFS2 4k block
      size minus the header divided by sizeof(u64)). I've further limited
      the mapping of "normal" blocks to 32 blocks (to avoid extra work)
      since readpages() will currently read a maximum of 32 blocks ahead (128k).
      
      Some further work will probably be needed to set a suitable value
      for DIO as well, but for now thats left at the maximum 512 (see
      ops_address.c:gfs2_get_block_direct).
      
      There is probably a lot more that can be done to improve bmap for GFS2,
      but this is a good first step.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      7a6bbacb
  2. 18 9月, 2006 1 次提交
  3. 15 9月, 2006 1 次提交
  4. 13 9月, 2006 10 次提交
  5. 12 9月, 2006 18 次提交
  6. 11 9月, 2006 7 次提交
    • L
      Merge master.kernel.org:/home/rmk/linux-2.6-mmc · e004876c
      Linus Torvalds 提交于
      * master.kernel.org:/home/rmk/linux-2.6-mmc:
        [MMC] Always use a sector size of 512 bytes
        [MMC] Cleanup 385e3227
        [ARM] 3751/1: i.MX/MX1 SD/MMC use 512 bytes request for SCR read
        [MMC] Fix SD timeout calculation
        [MMC] constify mmc_host_ops
      e004876c
    • L
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · 5a05e5bf
      Linus Torvalds 提交于
      * master.kernel.org:/home/rmk/linux-2.6-arm:
        [ARM] 3778/1: S3C24XX: remove changelogs from include/asm-arm/arch-s3c2410 [simtec]
        [ARM] 3783/1: S3C2412: fix IRQ_EINT0 to IRQ_EINT3 handling
        [ARM] 3779/1: S3C24XX: remove changelogs from include/asm-arm/arch-s3c2410 [left]
        [ARM] 3777/1: S3C24XX:  remove changelogs from include/asm-arm/arch-s3c2410 [regs-*.h]
        [ARM] 3776/1: S3C24XX: remove changelogs from include/asm-arm/arch-s3c2410
        [ARM] 3775/1: S3C24XX: do not add same sysdev_driver to two classes
        [ARM] 3774/1: S3C24XX: SMDK2413 has two machine IDs
        [ARM] 3773/1: Add the HWCAP_VFP bit for the ARM926 CPUs
        [ARM] 3772/1: Fix compilation error in mach-ixp4xx/nslu2*
        [ARM] 3767/1: S3C24XX: remove changelog comments from arch/arm/mach-s3c2410
        [ARM] 3766/1: Fix typo in ARM _raw_read_trylock
      5a05e5bf
    • L
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 · 08a55c01
      Linus Torvalds 提交于
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
        [PATCH] Fix dm9000 release_resource
      08a55c01
    • L
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev · 3f2f1257
      Linus Torvalds 提交于
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
        [PATCH] ata_piix: add map 01b for ICH7M
        [libata] sata_mv: errata check buglet fix
      3f2f1257
    • A
      [PATCH] Fix 2.6.18-rc6 IDE breakage, add missing ident needed for current VIA boards · 28a2a3f5
      Alan Cox 提交于
      There are two changes here.  The first reverses the broken PCI_DEVICE
      conversion back to the old format.  The second adds a missing PCI ID so
      you can actually boot 2.6.18 on 2 month old VIA motherboards (right now
      only 2.6.18-mm works).
      
      CC'd to Jeff to check the PCI ident but its a) in several distro kernels
      and b) in 2.6.18-mm [twice ??]
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      28a2a3f5
    • D
      [PATCH] Fix dm9000 release_resource · 51985487
      Dirk Opfer 提交于
      dm9000_release_board calls release_resource with the platform resource
      instead of the requested resource:
      
      db->addr_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
      db->addr_req = request_mem_region(db->addr_res->start, i, pdev->name);
      
      dm9000_release_board:
      
      if (db->addr_res != NULL) {
      release_resource(db->addr_res);
      kfree(db->addr_req);
      
      With this behavior the kernel will crash on the second removal. The
      attached patch fix this problem.
      Signed-off-by: NDirk Opfer <Dirk@Opfer-Online.de>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      51985487
    • T
      [PATCH] ata_piix: add map 01b for ICH7M · 67083741
      Tejun Heo 提交于
      Although the document says otherwise, some ich7m uses map 01b.  This
      patch adds separate map DB for ICH7M and adds map entry for 01b.
      
      This was spotted on an ASUS laptop by Jonathan Dieter.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Cc: Jonathan Dieter <jdieter@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      67083741