We recently had to fix an -rt aufs build failure in linux-yocto 3f9f162d9bb0
("aufs: i_op: Add handling for au_pin_hdir_set_owner with RT kernel") and then
I also recently saw a build fail on allyesconfig for a missing sync_inode().
    
This got me looking at what we integrated vs. what is currently upstream.
At the time Yocto started with v5.15, the then-current aufs was 5.14-20210906.
Since then, v5.15 specific branches have been created, and issue fixes
covering both the above have been added to aufs5-standalone upstream.

Given that, it seemed that an update to the latest v5.15 content was the
sensible thing to do.  This update takes us to the latest on aufs5.15.5
branch, which is 5.15.5-20220221 + two aditional fixes.

One will see below that a significant portion of the updates are related to
fs_context - see https://lwn.net/Articles/780267/  -- while I was originally
on the fence as to whether to include these, the deciding factor was seeing
that they originated on the aufs v5.14 branch before going to aufs v5.15.
So they aren't "new" in that respect.

The aufs5-standalone repository uses git and patches and merges in what could
be described as somewhat non-conventional.  Without going into details, it
doesn't lend itself to ease of updates to our previous integration as we
might be used to getting from other more conventional upstream feeds.

As such, what will be seen below is a mix of commits that were relatively
easy to extract, and version bump updates authored by myself that are a
reflection of the mix of files and patches in aufs5-standalone at the
point in time where the version bump 1st appeared.  Also one revert of our
early "make v5.14 aufs build on v5.15 baseline" was done to ease layering on
the upstream v5.15 updates (which contained the same/similar build fixes).

To be clear, I've not used aufs before, and so this is a mechanical update
performed after unwinding what we had, in conjunction with how the upstream
moves forward -- followed with allyes/mod/def config build testing.

Testing was on a v5.15.30 standard/base (linux-yocto 70cf8dde5544).  And if
users have issues, we should be in a better position to get them resolved by
aligning to the latest.

I can push to linux-yocto-contrib once the push hook is fixed if needed.

Paul.
---

J. R. Okajima (16):
  aufs: for v5.15-rc1, no mand-lock anymore
  aufs: for v5.15-rc1, new param 'rcu' for ->get_acl()
  aufs: for v5.15-rc1, sync_inode() is gone
  aufs: pre fs_context, convert the type of alloc_sbinfo()
  aufs: pre fs_context, support the incomplete sb and sbinfo case
  aufs: pre fs_context, convert a static flag to a macro
  aufs: fs_context 1/7, skelton of the new shceme
  aufs: fs_context 2/7, parse "br" mount option
  aufs: fs_context 3/7, parse the branch-management options
  aufs: fs_context 4/7, parse xino options
  aufs: fs_context 5/7, parse all other mount options
  aufs: fs_context 6/7, now mount
  aufs: fs_context 7/7, finally remount
  aufs: tiny, headers after fs_context
  aufs standalone: cosmetic, missing copyright sentence
  aufs: bugfix, umount passes NULL to ->parse_monolithic()

Paul Gortmaker (5):
  Revert "aufs: adjust to v5.15 fs changes"
  aufs: 5.14-20210906  ---> 5.14-20211018
  aufs: 5.14-20211018 ---> 5.15.5-20211129
  aufs: 5.15.5-20211129 ---> 5.15.5-20220117
  aufs: 5.15.5-20220117 ---> 5.15.5-20220221

 Documentation/filesystems/aufs/README |    2 +-
 fs/aufs/Makefile                      |    2 +-
 fs/aufs/cpup.c                        |    6 +-
 fs/aufs/debug.c                       |    5 +-
 fs/aufs/dentry.c                      |   36 +-
 fs/aufs/dentry.h                      |    2 +-
 fs/aufs/dirren.c                      |    9 +-
 fs/aufs/export.c                      |   13 +-
 fs/aufs/fsctx.c                       | 1242 +++++++++++++++++++++++++
 fs/aufs/i_op.c                        |    1 -
 fs/aufs/i_op_del.c                    |   13 +-
 fs/aufs/i_op_ren.c                    |   14 +-
 fs/aufs/opts.c                        |  998 ++------------------
 fs/aufs/opts.h                        |   46 +-
 fs/aufs/plink.c                       |   62 +-
 fs/aufs/posix_acl.c                   |   10 +-
 fs/aufs/sbinfo.c                      |   14 +-
 fs/aufs/super.c                       |  247 +----
 fs/aufs/super.h                       |    9 +-
 fs/aufs/vfsub.c                       |   34 +-
 fs/aufs/vfsub.h                       |   10 +-
 fs/aufs/whout.c                       |   82 +-
 fs/aufs/whout.h                       |    4 +-
 fs/aufs/xino.c                        |   13 +-
 include/uapi/linux/aufs_type.h        |    2 +-
 25 files changed, 1581 insertions(+), 1295 deletions(-)
 create mode 100644 fs/aufs/fsctx.c

-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11063): 
https://lists.yoctoproject.org/g/linux-yocto/message/11063
Mute This Topic: https://lists.yoctoproject.org/mt/90000691/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to