[fix] Undeletable Dirs with Layered ro+wh Mounts

2015-10-05 Thread Karl Semich
I found I needed to change a comparison in au_lkup_dentry in dentry.c to make aufs work for me. It's line #182 in aufs-4.1: https://github.com/sfjro/aufs4-linux/blob/aufs4.1/fs/aufs/dentry.c#L182 Old line: if (au_dbwh(dentry) >= 0) New line: if (au_dbwh(dentry) == bindex)

Error with lockdep

2015-12-18 Thread Karl Semich
I'm getting the following when I mount my root aufs filesystem: [ 20.360553] BUG: looking up invalid subclass: 9 [ 20.361395] turning off the locking correctness validator. [ 20.362249] CPU: 0 PID: 251 Comm: mkdir Not tainted 4.1.14+ #1 [ 20.363098] Hardware name: Dell Inc. Latitude

Re: Deduplication on stat change?

2016-03-10 Thread Karl Semich
Hi, On 3/8/16, sf...@users.sourceforge.net wrote: > > Splitting file-data and meta-data will break these policies. > > For your case, I'd suggest you to try > $ find /your/dir \! -user userA | xargs -r chown userB I think the problem is when this occurs

Deduplication on stat change?

2016-03-08 Thread Karl Semich
I ran into an issue yesterday where I chowned a huge directory to ensure all the files were the same owner. Most of the files were already this owner, but they were all copied up because the ctime needed to be updated, which exhausted my drive space and caused my system to stop functioning. I