AW: aufs slow due to re-reading all branches on every access

2010-07-25 Thread Wolfgang Alper
Hello J. R. >Here is another one. >% strace -T ls /your/branches >% strace -T ls /your/aufs >From these outputs, we may able to find which systemcall took long time. Great idea, pls find attached the requested traces. Short description: - Made tests with 8 branches and 81 branches. - For testing

Re: AW: aufs slow due to re-reading all branches on every access

2010-07-25 Thread sfjro
Wolfgang Alper: > Great idea, pls find attached the requested traces. ::: > - The branches themselves react as expected, regardless of the requested > subdir structure. > - aufs becomes slower using a more branches > - requesting subdirs through aufs makes it slower, directly dependig on

Re: AUFS Overlapped paths

2010-07-25 Thread Lou Gosselin
J R, I did get around to trying the patch. It did not patch cleanly against aufs2/34. The patch looks for "!!" in various places where as the original doesn't contain these "return !!au_test_subdir(h_d1, h_d2)"? Not sure what that's supposed to signify, but I went ahead an applied the changes b

How to identify which locked files are keeping an aufs branch locked?

2010-07-25 Thread Lou Gosselin
How do I know which processes are locking a specific branch? Let me state the question using a basic example. > mkdir -p union branch1 branch2 > touch branch1/branch1_file > touch branch2/branch2_file > mount -t aufs aufs union -o br:branch1:branch2 # produces expected union > ls union/ bra

aufs2 Monday GIT release

2010-07-25 Thread sfjro
o bugfix - aufs: Fix null pointer dereference on branch deletion - aufs: bugfix, un-static a local var in dy_get() - aufs: bugfix, buffer overrun in au_whtmp_lkup() o news - aufs: allow a loopback-mounted branch J. R. Okajima

Re: AUFS Overlapped paths

2010-07-25 Thread sfjro
Lou Gosselin: > I did get around to trying the patch. > It did not patch cleanly against aufs2/34. > The patch looks for "!!" in various places where as the original doesn't > contain these "return !!au_test_subdir(h_d1, h_d2)"? My base version was different from yours, sorry. I have just made M

Re: How to identify which locked files are keeping an aufs branch locked?

2010-07-25 Thread sfjro
Lou Gosselin: > How do I know which processes are locking a specific branch? ::: > # Any manipulation on the union results in locked file errors > > mount union -o remount,del:branch1 > mount: /tmp/union is busy How about the "verbose" option? (from the aufs manual)

Re: How to identify which locked files are keeping an aufs branch locked?

2010-07-25 Thread Lou Gosselin
I tried the verbose option, but it doesn't produce enough output. > mkdir union a b > mount -t aufs aufs union -o verbose,br:a=rw:b=rw > cat > union/lock # in separate term > mount union -o remount,del:a [ 114.704254] aufs au_br_del:758:mount[1215]: 1 file(s) opened mount: /tmp/union is busy

Re: How to identify which locked files are keeping an aufs branch locked?

2010-07-25 Thread sfjro
Lou Gosselin: > I tried the verbose option, but it doesn't produce enough output. > > > mkdir union a b > > mount -t aufs aufs union -o verbose,br:a=rw:b=rw > > cat > union/lock # in separate term > > mount union -o remount,del:a > [ 114.704254] aufs au_br_del:758:mount[1215]: 1 file(s) opene