1. 08 4月, 2011 14 次提交
  2. 05 4月, 2011 2 次提交
  3. 01 4月, 2011 9 次提交
  4. 29 3月, 2011 5 次提交
  5. 28 3月, 2011 10 次提交
    • T
      genirq: Add setter for AFFINITY_SET in irq_data state · ee38c04b
      Thomas Gleixner 提交于
      Some archs want to prevent the default affinity being set on their
      chips in the reqeust_irq() path.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      ee38c04b
    • T
      genirq: Provide setter inline for IRQD_IRQ_INPROGRESS · 9cff60df
      Thomas Gleixner 提交于
      Special function for demultiplexing handlers which can be disabled via
      disable_irq().
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      9cff60df
    • T
      genirq: Remove handle_IRQ_event · 33b054b8
      Thomas Gleixner 提交于
      Last user gone.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      33b054b8
    • T
      genirq: Provide edge_eoi flow handler · 0521c8fb
      Thomas Gleixner 提交于
      This is a replacment for the cell flow handler which is in the way of
      cleanups. Must be selected to avoid general bloat.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      0521c8fb
    • T
      genirq: Move INPROGRESS, MASKED and DISABLED state flags to irq_data · 32f4125e
      Thomas Gleixner 提交于
      We really need these flags for some of the interrupt chips. Move it
      from internal state to irq_data and provide proper accessors.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Cc: David Daney <ddaney@caviumnetworks.com>
      32f4125e
    • G
      NOMMU: support SMP dynamic percpu_alloc · b554cb42
      Graf Yang 提交于
      The percpu code requires more functions to be implemented in the mm core
      which nommu currently does not provide.  So add inline implementations
      since these are largely meaningless on nommu systems.
      Signed-off-by: NGraf Yang <graf.yang@analog.com>
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Acked-by: NGreg Ungerer <gerg@uclinux.org>
      b554cb42
    • M
      sony-laptop: ignore hard switch rfkill events (SPIC) · 4eeb5022
      Mattia Dongili 提交于
      There is not much use for these events in userspace and handling the
      events themselves seems to get in the way of the actual activation of
      the rf devices. The SNC device doesn't expose them already.
      https://bugzilla.kernel.org/show_bug.cgi?id=15303Signed-off-by: NMattia Dongili <malattia@linux.it>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      4eeb5022
    • C
      eeepc-wmi: add camera keys · e2d3d44b
      Corentin Chary 提交于
      These keys are supposed to be handled by any software
      using the camera (like webKam or cheese...). They can
      also be used to actually move the camera when possible.
      Signed-off-by: NCorentin Chary <corentincj@iksaif.net>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      e2d3d44b
    • L
      Btrfs: add datacow flag in inode flag · 32471f6e
      liubo 提交于
      For datacow control, the corresponding inode flags are needed.
      This is for btrfs use.
      
      v1->v2:
      Change FS_COW_FL to another bit due to conflict with the upstream e2fsprogs
      Signed-off-by: NLiu Bo <liubo2009@cn.fujitsu.com>
      Signed-off-by: NChris Mason <chris.mason@oracle.com>
      32471f6e
    • L
      Btrfs: add initial tracepoint support for btrfs · 1abe9b8a
      liubo 提交于
      Tracepoints can provide insight into why btrfs hits bugs and be greatly
      helpful for debugging, e.g
                    dd-7822  [000]  2121.641088: btrfs_inode_request: root = 5(FS_TREE), gen = 4, ino = 256, blocks = 8, disk_i_size = 0, last_trans = 8, logged_trans = 0
                    dd-7822  [000]  2121.641100: btrfs_inode_new: root = 5(FS_TREE), gen = 8, ino = 257, blocks = 0, disk_i_size = 0, last_trans = 0, logged_trans = 0
       btrfs-transacti-7804  [001]  2146.935420: btrfs_cow_block: root = 2(EXTENT_TREE), refs = 2, orig_buf = 29368320 (orig_level = 0), cow_buf = 29388800 (cow_level = 0)
       btrfs-transacti-7804  [001]  2146.935473: btrfs_cow_block: root = 1(ROOT_TREE), refs = 2, orig_buf = 29364224 (orig_level = 0), cow_buf = 29392896 (cow_level = 0)
       btrfs-transacti-7804  [001]  2146.972221: btrfs_transaction_commit: root = 1(ROOT_TREE), gen = 8
         flush-btrfs-2-7821  [001]  2155.824210: btrfs_chunk_alloc: root = 3(CHUNK_TREE), offset = 1103101952, size = 1073741824, num_stripes = 1, sub_stripes = 0, type = DATA
         flush-btrfs-2-7821  [001]  2155.824241: btrfs_cow_block: root = 2(EXTENT_TREE), refs = 2, orig_buf = 29388800 (orig_level = 0), cow_buf = 29396992 (cow_level = 0)
         flush-btrfs-2-7821  [001]  2155.824255: btrfs_cow_block: root = 4(DEV_TREE), refs = 2, orig_buf = 29372416 (orig_level = 0), cow_buf = 29401088 (cow_level = 0)
         flush-btrfs-2-7821  [000]  2155.824329: btrfs_cow_block: root = 3(CHUNK_TREE), refs = 2, orig_buf = 20971520 (orig_level = 0), cow_buf = 20975616 (cow_level = 0)
       btrfs-endio-wri-7800  [001]  2155.898019: btrfs_cow_block: root = 5(FS_TREE), refs = 2, orig_buf = 29384704 (orig_level = 0), cow_buf = 29405184 (cow_level = 0)
       btrfs-endio-wri-7800  [001]  2155.898043: btrfs_cow_block: root = 7(CSUM_TREE), refs = 2, orig_buf = 29376512 (orig_level = 0), cow_buf = 29409280 (cow_level = 0)
      
      Here is what I have added:
      
      1) ordere_extent:
              btrfs_ordered_extent_add
              btrfs_ordered_extent_remove
              btrfs_ordered_extent_start
              btrfs_ordered_extent_put
      
      These provide critical information to understand how ordered_extents are
      updated.
      
      2) extent_map:
              btrfs_get_extent
      
      extent_map is used in both read and write cases, and it is useful for tracking
      how btrfs specific IO is running.
      
      3) writepage:
              __extent_writepage
              btrfs_writepage_end_io_hook
      
      Pages are cirtical resourses and produce a lot of corner cases during writeback,
      so it is valuable to know how page is written to disk.
      
      4) inode:
              btrfs_inode_new
              btrfs_inode_request
              btrfs_inode_evict
      
      These can show where and when a inode is created, when a inode is evicted.
      
      5) sync:
              btrfs_sync_file
              btrfs_sync_fs
      
      These show sync arguments.
      
      6) transaction:
              btrfs_transaction_commit
      
      In transaction based filesystem, it will be useful to know the generation and
      who does commit.
      
      7) back reference and cow:
      	btrfs_delayed_tree_ref
      	btrfs_delayed_data_ref
      	btrfs_delayed_ref_head
      	btrfs_cow_block
      
      Btrfs natively supports back references, these tracepoints are helpful on
      understanding btrfs's COW mechanism.
      
      8) chunk:
      	btrfs_chunk_alloc
      	btrfs_chunk_free
      
      Chunk is a link between physical offset and logical offset, and stands for space
      infomation in btrfs, and these are helpful on tracing space things.
      
      9) reserved_extent:
      	btrfs_reserved_extent_alloc
      	btrfs_reserved_extent_free
      
      These can show how btrfs uses its space.
      Signed-off-by: NLiu Bo <liubo2009@cn.fujitsu.com>
      Signed-off-by: NChris Mason <chris.mason@oracle.com>
      1abe9b8a