#19538: jffs2 and ubifs must support RENAME_EXCHAGE for the new overlayfs
------------------------+------------------------
  Reporter:  anonymous  |      Owner:  developers
      Type:  defect     |     Status:  closed
  Priority:  normal     |  Milestone:
 Component:  packages   |    Version:  Trunk
Resolution:  fixed      |   Keywords:
------------------------+------------------------

Comment (by anonymous):

 After this patch I am able to move and delete directories that only exist
 in the lower layer file system.  But, I did notice that for every
 RENAME_EXCHANGE operation on a lower layer jffs2 directory it creates an
 orphan in the jffs2 xattr subsystem.  I think this is related to the way
 the new overlayfs uses the "trusted.overlay.opaque" xattr for opaque
 directories.

 As an example, if I remove a directory that only exists in the lower
 layers the next time the hardware is rebooted (or whenever the jffs2
 overlay is mounted again) dmesg will report a new xattr orphan: jffs2:
 notice: (382) jffs2_build_xattr_subsystem: complete building xattr
 subsystem, 1 of xdatum (0 unchecked, 1 orphan) and 1 of xref (0 dead, 1
 orphan) found.

 I am not sure if having xattr orphans is a long term problem for jffs2?

--
Ticket URL: <https://dev.openwrt.org/ticket/19538#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to