Skip to content
Permalink
Browse files

fs: add aufs support

  • Loading branch information...
numbqq committed Nov 22, 2018
1 parent 1a7696f commit 811060035f37fdc3fb44a5458e802e67504e959b
Showing with 34,995 additions and 31 deletions.
  1. +50 −0 Documentation/ABI/testing/debugfs-aufs
  2. +31 −0 Documentation/ABI/testing/sysfs-aufs
  3. +393 −0 Documentation/filesystems/aufs/README
  4. +171 −0 Documentation/filesystems/aufs/design/01intro.txt
  5. +258 −0 Documentation/filesystems/aufs/design/02struct.txt
  6. +85 −0 Documentation/filesystems/aufs/design/03atomic_open.txt
  7. +113 −0 Documentation/filesystems/aufs/design/03lookup.txt
  8. +74 −0 Documentation/filesystems/aufs/design/04branch.txt
  9. +64 −0 Documentation/filesystems/aufs/design/05wbr_policy.txt
  10. +120 −0 Documentation/filesystems/aufs/design/06fhsm.txt
  11. +72 −0 Documentation/filesystems/aufs/design/06mmap.txt
  12. +96 −0 Documentation/filesystems/aufs/design/06xattr.txt
  13. +58 −0 Documentation/filesystems/aufs/design/07export.txt
  14. +52 −0 Documentation/filesystems/aufs/design/08shwh.txt
  15. +47 −0 Documentation/filesystems/aufs/design/10dynop.txt
  16. +13 −0 MAINTAINERS
  17. +4 −0 arch/arm64/boot/dts/rockchip/rk3399-khadas-edgev-linux.dts
  18. +9 −0 arch/arm64/configs/kedge_defconfig
  19. +18 −0 drivers/block/loop.c
  20. +1 −0 fs/Kconfig
  21. +1 −0 fs/Makefile
  22. +185 −0 fs/aufs/Kconfig
  23. +44 −0 fs/aufs/Makefile
  24. +59 −0 fs/aufs/aufs.h
  25. +1,420 −0 fs/aufs/branch.c
  26. +321 −0 fs/aufs/branch.h
  27. +38 −0 fs/aufs/conf.mk
  28. +15 −0 fs/aufs/conf.str
  29. +15 −0 fs/aufs/conf.str.tmp
  30. +1,383 −0 fs/aufs/cpup.c
  31. +94 −0 fs/aufs/cpup.h
  32. +438 −0 fs/aufs/dbgaufs.c
  33. +48 −0 fs/aufs/dbgaufs.h
  34. +225 −0 fs/aufs/dcsub.c
  35. +136 −0 fs/aufs/dcsub.h
  36. +440 −0 fs/aufs/debug.c
  37. +225 −0 fs/aufs/debug.h
  38. +1,130 −0 fs/aufs/dentry.c
  39. +252 −0 fs/aufs/dentry.h
  40. +553 −0 fs/aufs/dinfo.c
  41. +761 −0 fs/aufs/dir.c
  42. +131 −0 fs/aufs/dir.h
  43. +369 −0 fs/aufs/dynop.c
  44. +74 −0 fs/aufs/dynop.h
  45. +838 −0 fs/aufs/export.c
  46. +772 −0 fs/aufs/f_op.c
  47. +426 −0 fs/aufs/fhsm.c
  48. +837 −0 fs/aufs/file.c
  49. +291 −0 fs/aufs/file.h
  50. +148 −0 fs/aufs/finfo.c
  51. +400 −0 fs/aufs/fstype.h
  52. +287 −0 fs/aufs/hfsnotify.c
  53. +56 −0 fs/aufs/hfsplus.c
  54. +711 −0 fs/aufs/hnotify.c
  55. +1,531 −0 fs/aufs/i_op.c
  56. +924 −0 fs/aufs/i_op_add.c
  57. +511 −0 fs/aufs/i_op_del.c
  58. +1,015 −0 fs/aufs/i_op_ren.c
  59. +285 −0 fs/aufs/iinfo.c
  60. +527 −0 fs/aufs/inode.c
  61. +695 −0 fs/aufs/inode.h
  62. +219 −0 fs/aufs/ioctl.c
  63. +147 −0 fs/aufs/loop.c
  64. +52 −0 fs/aufs/loop.h
  65. +30 −0 fs/aufs/magic.mk
  66. +266 −0 fs/aufs/module.c
  67. +101 −0 fs/aufs/module.h
  68. +704 −0 fs/aufs/mvdown.c
  69. +1,868 −0 fs/aufs/opts.c
  70. +213 −0 fs/aufs/opts.h
  71. +514 −0 fs/aufs/plink.c
  72. +52 −0 fs/aufs/poll.c
  73. +98 −0 fs/aufs/posix_acl.c
  74. +169 −0 fs/aufs/procfs.c
  75. +388 −0 fs/aufs/rdu.c
  76. +198 −0 fs/aufs/rwsem.h
  77. +308 −0 fs/aufs/sbinfo.c
  78. +113 −0 fs/aufs/spl.h
  79. +1,044 −0 fs/aufs/super.c
  80. +619 −0 fs/aufs/super.h
  81. +104 −0 fs/aufs/sysaufs.c
  82. +101 −0 fs/aufs/sysaufs.h
  83. +376 −0 fs/aufs/sysfs.c
  84. +157 −0 fs/aufs/sysrq.c
  85. +891 −0 fs/aufs/vdir.c
  86. +882 −0 fs/aufs/vfsub.c
  87. +316 −0 fs/aufs/vfsub.h
  88. +830 −0 fs/aufs/wbr_policy.c
  89. +1,060 −0 fs/aufs/whout.c
  90. +85 −0 fs/aufs/whout.h
  91. +213 −0 fs/aufs/wkq.c
  92. +91 −0 fs/aufs/wkq.h
  93. +363 −0 fs/aufs/xattr.c
  94. +1,415 −0 fs/aufs/xino.c
  95. +2 −1 fs/dcache.c
  96. +1 −0 fs/exec.c
  97. +4 −1 fs/fcntl.c
  98. +4 −0 fs/file_table.c
  99. +2 −1 fs/inode.c
  100. +2 −0 fs/namespace.c
  101. +4 −0 fs/notify/group.c
  102. +4 −0 fs/notify/mark.c
  103. +2 −0 fs/open.c
  104. +1 −1 fs/proc/base.c
  105. +4 −1 fs/proc/nommu.c
  106. +5 −2 fs/proc/task_mmu.c
  107. +4 −1 fs/proc/task_nommu.c
  108. +24 −0 fs/read_write.c
  109. +7 −5 fs/splice.c
  110. +2 −1 fs/sync.c
  111. +1 −0 fs/xattr.c
  112. +1 −0 include/linux/file.h
  113. +10 −0 include/linux/fs.h
  114. +22 −0 include/linux/mm.h
  115. +2 −0 include/linux/mm_types.h
  116. +6 −0 include/linux/splice.h
  117. +1 −0 include/uapi/linux/Kbuild
  118. +419 −0 include/uapi/linux/aufs_type.h
  119. +1 −1 kernel/fork.c
  120. +1 −0 kernel/task_work.c
  121. +1 −1 mm/Makefile
  122. +1 −1 mm/filemap.c
  123. +1 −1 mm/memory.c
  124. +25 −8 mm/mmap.c
  125. +5 −5 mm/nommu.c
  126. +85 −0 mm/prfile.c
  127. +2 −0 security/commoncap.c
  128. +2 −0 security/device_cgroup.c
  129. +10 −0 security/security.c
@@ -0,0 +1,50 @@
What: /debug/aufs/si_<id>/
Date: March 2009
Contact: J. R. Okajima <hooanon05g@gmail.com>
Description:
Under /debug/aufs, a directory named si_<id> is created
per aufs mount, where <id> is a unique id generated
internally.

What: /debug/aufs/si_<id>/plink
Date: Apr 2013
Contact: J. R. Okajima <hooanon05g@gmail.com>
Description:
It has three lines and shows the information about the
pseudo-link. The first line is a single number
representing a number of buckets. The second line is a
number of pseudo-links per buckets (separated by a
blank). The last line is a single number representing a
total number of psedo-links.
When the aufs mount option 'noplink' is specified, it
will show "1\n0\n0\n".

What: /debug/aufs/si_<id>/xib
Date: March 2009
Contact: J. R. Okajima <hooanon05g@gmail.com>
Description:
It shows the consumed blocks by xib (External Inode Number
Bitmap), its block size and file size.
When the aufs mount option 'noxino' is specified, it
will be empty. About XINO files, see the aufs manual.

What: /debug/aufs/si_<id>/xino0, xino1 ... xinoN
Date: March 2009
Contact: J. R. Okajima <hooanon05g@gmail.com>
Description:
It shows the consumed blocks by xino (External Inode Number
Translation Table), its link count, block size and file
size.
When the aufs mount option 'noxino' is specified, it
will be empty. About XINO files, see the aufs manual.

What: /debug/aufs/si_<id>/xigen
Date: March 2009
Contact: J. R. Okajima <hooanon05g@gmail.com>
Description:
It shows the consumed blocks by xigen (External Inode
Generation Table), its block size and file size.
If CONFIG_AUFS_EXPORT is disabled, this entry will not
be created.
When the aufs mount option 'noxino' is specified, it
will be empty. About XINO files, see the aufs manual.
@@ -0,0 +1,31 @@
What: /sys/fs/aufs/si_<id>/
Date: March 2009
Contact: J. R. Okajima <hooanon05g@gmail.com>
Description:
Under /sys/fs/aufs, a directory named si_<id> is created
per aufs mount, where <id> is a unique id generated
internally.

What: /sys/fs/aufs/si_<id>/br0, br1 ... brN
Date: March 2009
Contact: J. R. Okajima <hooanon05g@gmail.com>
Description:
It shows the abolute path of a member directory (which
is called branch) in aufs, and its permission.

What: /sys/fs/aufs/si_<id>/brid0, brid1 ... bridN
Date: July 2013
Contact: J. R. Okajima <hooanon05g@gmail.com>
Description:
It shows the id of a member directory (which is called
branch) in aufs.

What: /sys/fs/aufs/si_<id>/xi_path
Date: March 2009
Contact: J. R. Okajima <hooanon05g@gmail.com>
Description:
It shows the abolute path of XINO (External Inode Number
Bitmap, Translation Table and Generation Table) file
even if it is the default path.
When the aufs mount option 'noxino' is specified, it
will be empty. About XINO files, see the aufs manual.

0 comments on commit 8110600

Please sign in to comment.
You can’t perform that action at this time.