Hello J. R. I thank you very much for your patch. I had to backport it to old version of aufs sources provided in Ubuntu karmic: 20090126.
The good news is that rename now works perfectly with your
modifications. That's great, and it will enable me to use aufs now
everyday for my work! Therefore, I will be able to report you if I see
any other problem.
I would like to use the latest aufs source in the git standalone
repository and I will try to do it soon. For this I will have to
recompile my kernel, using the patches you provide. I have tried without
recompiling my kernel, and there was at least one missing kernel symbol:
'securiy_file_mmap'.
Please find attached the backported patch I have applied to aufs source
version 20090126. There were also two small typo fixes:
--- a/fs/aufs/fstype.h
+++ b/fs/aufs/fstype.h
-#ifdef CONFIG_HFSPLUS_FS || defined(CONFIG_HFSPLUS_FS_MODULE)
+#if defined(CONFIG_HFSPLUS_FS) || defined(CONFIG_HFSPLUS_FS_MODULE)
--- a/fs/aufs/i_op_ren.c
+++ b/fs/aufs/i_op_ren.c
-if (au_test_hfplus(a->src_h_dentry->d_sb)) {
+if (au_test_hfsplus(a->src_h_dentry->d_sb)) {
Again thank you very much for your help!
I can use aufs with my configuration now.
Kind regards
Anand
Le mercredi 03 mars 2010 à 20:25 +0900, [email protected] a
écrit :
> Hello Ananda,
>
> Ananda Tallur:
> > I would like to inform you about a problem I have systematically when
> > using aufs on top of a read-only hfsplus filesystem.
> > It occurs everytime the shell or any process tries to rename a file
> > located in the aufs filesystem: the process then gets hanged in a non
> > interruptible system call (called by the hfsplus module).
>
> Thank you for the detailed report.
> hfsplus seems to acquire an inode mutex lock when closing a file. It is
> an unexpected behaviour for aufs, but it is NOT a problem of hfsplus.
> Here is a patch for you.
> Please test it. I will test it by myself tommorrrow probably.
> Also I'd suggest you to upgrade your aufs to the latest version.
>
>
> J. R. Okajima
>
a.patch_backported_20090126.bz2
Description: application/bzip
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
