1. 10 9月, 2010 9 次提交
    • T
      ocfs2: Remove obscure error handling in direct_write. · 95fa859a
      Tao Ma 提交于
      In ocfs2, actually we don't allow any direct write pass i_size,
      see the function ocfs2_prepare_inode_for_write. So we don't
      need the bogus simple_setsize.
      Signed-off-by: NTao Ma <tao.ma@oracle.com>
      Signed-off-by: NJoel Becker <joel.becker@oracle.com>
      95fa859a
    • T
      ocfs2: Add some trace log for orphan scan. · 3c3f20c9
      Tao Ma 提交于
      Now orphan scan worker has no trace log, so it is
      very hard to tell whether it is finished or blocked.
      So add 2 mlog trace log so that we can tell whether
      the current orphan scan worker is blocked or not.
      It does help when I analyzed a orphan scan bug.
      Signed-off-by: NTao Ma <tao.ma@oracle.com>
      Signed-off-by: NJoel Becker <joel.becker@oracle.com>
      3c3f20c9
    • T
      Ocfs2: Add new OCFS2_IOC_INFO ioctl for ocfs2 v8. · ddee5cdb
      Tristan Ye 提交于
      The reason why we need this ioctl is to offer the none-privileged
      end-user a possibility to get filesys info gathering.
      
      We use OCFS2_IOC_INFO to manipulate the new ioctl, userspace passes a
      structure to kernel containing an array of request pointers and request
      count, such as,
      
      * From userspace:
      
      struct ocfs2_info_blocksize oib = {
              .ib_req = {
                      .ir_magic = OCFS2_INFO_MAGIC,
                      .ir_code = OCFS2_INFO_BLOCKSIZE,
                      ...
              }
              ...
      }
      
      struct ocfs2_info_clustersize oic = {
              ...
      }
      
      uint64_t reqs[2] = {(unsigned long)&oib,
                          (unsigned long)&oic};
      
      struct ocfs2_info info = {
              .oi_requests = reqs,
              .oi_count = 2,
      }
      
      ret = ioctl(fd, OCFS2_IOC_INFO, &info);
      
      * In kernel:
      
      Get the request pointers from *info*, then handle each request one bye one.
      
      Idea here is to make the spearated request small enough to guarantee
      a better backward&forward compatibility since a small piece of request
      would be less likely to be broken if filesys on raw disk get changed.
      
      Currently, the following 7 requests are supported per the requirement from
      userspace tool o2info, and I believe it will grow over time:-)
      
              OCFS2_INFO_CLUSTERSIZE
              OCFS2_INFO_BLOCKSIZE
              OCFS2_INFO_MAXSLOTS
              OCFS2_INFO_LABEL
              OCFS2_INFO_UUID
              OCFS2_INFO_FS_FEATURES
              OCFS2_INFO_JOURNAL_SIZE
      
      This ioctl is only specific to OCFS2.
      Signed-off-by: NTristan Ye <tristan.ye@oracle.com>
      Signed-off-by: NJoel Becker <joel.becker@oracle.com>
      ddee5cdb
    • L
      Merge master.kernel.org:/home/rmk/linux-2.6-arm · 152831be
      Linus Torvalds 提交于
      * master.kernel.org:/home/rmk/linux-2.6-arm: (30 commits)
        ARM: Update mach-types
        ARM: Partially revert "Auto calculate ZRELADDR and provide option for exceptions"
        ARM: Ensure PTE modifications via dma_alloc_coherent are visible
        ARM: 6359/1: ep93xx: move clock initialization earlier
        Revert "[ARM] pxa: remove now unnecessary dma_needs_bounce()"
        ARM: 6352/1: perf: fix event validation
        ARM: 6344/1: Mark CPU_32v6K as depended on CPU_V7
        ARM: 6343/1: wire up fanotify and prlimit64 syscalls on ARM
        ARM: 6330/1: perf: reword comments relating to perf_event_do_pending
        ARM: pxa168fb: fix section mismatch
        ARM: pxa: Make id const in pwm_probe()
        ARM: pxa: fix CI_HSYNC and CI_VSYNC MFP defines for pxa300
        ARM: pxa: remove __init from cpufreq_driver->init()
        ARM: imx: set cache line size to 64 bytes for i.MX5
        mx5/clock: fix clear bit fields issue in _clk_ccgr_disable function
        mxc/tzic: add base address when accessing TZIC registers
        ARM: mach-shmobile: ap4evb: fix write protect for SDHI1
        ARM: mach-shmobile: ap4evb: modify FSI2 ID
        ARM: mach-shmobile: do not enable the PLLC2 clock on init
        ARM: mach-shmobile: Clock framework comment fix
        ...
      152831be
    • R
      ARM: Update mach-types · a14d0404
      Russell King 提交于
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      a14d0404
    • R
      ARM: Partially revert "Auto calculate ZRELADDR and provide option for exceptions" · 9e84ed63
      Russell King 提交于
      Partially revert e69edc79, which introduced automatic zreladdr
      support.  The change in the way the manual definition is defined
      seems to be error and conflict prone.  Go back to the original way
      we were handling this for the time being, while keeping the automatic
      zreladdr facility.
      
      Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      9e84ed63
    • R
      Merge branch 'origin' · de9ea203
      Russell King 提交于
      de9ea203
    • J
      lglock: make lg_lock_global() actually lock globally · a73f8844
      Jonathan Corbet 提交于
      lg_lock_global() currently only acquires spinlocks for online CPUs, but
      it's meant to lock all possible CPUs.  Lglock-protected resources may be
      associated with removed CPUs - and, indeed, that could happen with the
      per-superblock open files lists.
      
      At Nick's suggestion, change for_each_online_cpu() to
      for_each_possible_cpu() to protect accesses to those resources.
      
      Cc: Al Viro <viro@ZenIV.linux.org.uk>
      Acked-by: NNick Piggin <npiggin@kernel.dk>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a73f8844
    • S
      mm: Move vma_stack_continue into mm.h · 39aa3cb3
      Stefan Bader 提交于
      So it can be used by all that need to check for that.
      Signed-off-by: NStefan Bader <stefan.bader@canonical.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      39aa3cb3
  2. 09 9月, 2010 13 次提交
  3. 08 9月, 2010 18 次提交