1. 27 6月, 2006 2 次提交
  2. 19 6月, 2006 1 次提交
  3. 30 5月, 2006 1 次提交
  4. 27 5月, 2006 1 次提交
  5. 25 5月, 2006 4 次提交
  6. 24 5月, 2006 1 次提交
    • D
      [JFFS2] Reduce visibility of raw_node_ref to upper layers of JFFS2 code. · 2f785402
      David Woodhouse 提交于
      As the first step towards eliminating the ref->next_phys member and saving
      memory by using an _array_ of struct jffs2_raw_node_ref per eraseblock,
      stop the write functions from allocating their own refs; have them just
      _reserve_ the appropriate number instead. Then jffs2_link_node_ref() can
      just fill them in.
      
      Use a linked list of pre-allocated refs in the superblock, for now. Once
      we switch to an array, it'll just be a case of extending that array.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      2f785402
  7. 22 5月, 2006 1 次提交
  8. 21 5月, 2006 8 次提交
  9. 20 5月, 2006 1 次提交
    • D
      [JFFS2] Optimise reading of eraseblock summary nodes · 9641b784
      David Woodhouse 提交于
      This improves the time to mount 512MiB of NAND flash on my OLPC prototype
      by about 4%. We used to read the last page of the eraseblock twice -- once
      to find the offset of the summary node, and again to actually _read_ the
      summary node. Now we read the last page only once, and read more only if
      we need to.
      
      We also don't allocate a new buffer just for the summary code -- we use
      the buffer which was already allocated for the scan. Better still, if the
      'buffer' for the scan is actually just a pointer directly into NOR flash,
      we use that too, avoiding the memcpy() which we used to do.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      9641b784
  10. 17 5月, 2006 1 次提交
  11. 13 5月, 2006 3 次提交
    • K
      [JFFS2][XATTR] Handling the duplicate JFFS2_NODETYPE_XATTR node cases. · c8708a92
      KaiGai Kohei 提交于
      When jffs2_sum_process_sum_data() found a JFFS2_NODETYPE_XATTR
      which has duplicate xid and older version, an error was returned
      without appropriate process.
      In the result, mounting filesystem is failed.
      
      This patch fix this problem. If jffs2_setup_xattr_datum() returned
      -EEXIST, the caller marks this node as DIRTY_SPACE().
      
      [1/2] jffs2-xattr-v5.2-01-fix-duplicate-xdatum.patch
      Signed-off-by: NKaiGai Kohei <kaigai@ak.jp.nec.com>
      c8708a92
    • K
      [JFFS2][XATTR] Remove 'struct list_head ilist' from jffs2_inode_cache. · 8f2b6f49
      KaiGai Kohei 提交于
      This patch can reduce 4-byte of memory usage per inode_cache.
      
      [4/10] jffs2-xattr-v5.1-04-remove_ilist_from_ic.patch
      Signed-off-by: NKaiGai Kohei <kaigai@ak.jp.nec.com>
      8f2b6f49
    • K
      [JFFS2][XATTR] XATTR support on JFFS2 (version. 5) · aa98d7cf
      KaiGai Kohei 提交于
      This attached patches provide xattr support including POSIX-ACL and
      SELinux support on JFFS2 (version.5).
      
      There are some significant differences from previous version posted
      at last December.
      The biggest change is addition of EBS(Erase Block Summary) support.
      Currently, both kernel and usermode utility (sumtool) can recognize
      xattr nodes which have JFFS2_NODETYPE_XATTR/_XREF nodetype.
      
      In addition, some bugs are fixed.
      - A potential race condition was fixed.
      - Unexpected fail when updating a xattr by same name/value pair was fixed.
      - A bug when removing xattr name/value pair was fixed.
      
      The fundamental structures (such as using two new nodetypes and exclusion
      mechanism by rwsem) are unchanged. But most of implementation were reviewed
      and updated if necessary.
      Espacially, we had to change several internal implementations related to
      load_xattr_datum() to avoid a potential race condition.
      
      [1/2] xattr_on_jffs2.kernel.version-5.patch
      [2/2] xattr_on_jffs2.utils.version-5.patch
      Signed-off-by: NKaiGai Kohei <kaigai@ak.jp.nec.com>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      aa98d7cf
  12. 12 5月, 2006 1 次提交
  13. 12 4月, 2006 1 次提交
  14. 07 11月, 2005 4 次提交