o pre-announce - the behaviour of mmap(2) after munmap(2) and add/del branch(es) will change. aufs mmap(2) function checks whether the file descriptor is currently mmapped or not. But there is a bug in this checking, and I found it is very hard to fix it. Finally, I gave up this checking. Here is a new design. While it is still being developing, if no one stops me, I will release it on next Monday.
impact: the application who has a code such like this will be impacted. But I geuss it is minor. { fd = open(); mmap(fd); munmap(); // add or del branch(es) by this process or somone else. mmap(fd); } old behaviour: the second mmap() shows you the new filedata if the file was refreshed by add/del branch. new behaviour: the second mmap() shows you the old filedata as the first mmap(), even if the file is refreshed by add/del branch. If you close the file, and open, mmap again, then you will get the latest filedata. If you execute your application after add/del branch, then you will get the latest filedata. o bugfix - bugfix unionctl: typo or dropped single quotation. - bugfix unionctl: support a relative path for --whereis. o - begin supporting a readonly no-whiteout aufs branch of another aufs, still testing. - begin supporting exporting aufs via NFS, still testing. - begin supporting LSM, still testing. - unionctl aborts when the --whereis argument does not exist. Junjiro Okajima ---------------------------------------------------------------------- Index: fs/aufs/branch.c - begin supporting a readonly no-whiteout aufs branch of another aufs, still testing. Index: fs/aufs/dentry.c Index: fs/aufs/super.c Index: fs/aufs/super.h - begin supporting a readonly no-whiteout aufs branch of another aufs, still testing. - begin supporting exporting aufs via NFS, still testing. Index: fs/aufs/dir.c - begin supporting exporting aufs via NFS, still testing. Index: fs/aufs/f_op.c Index: fs/aufs/i_op_add.c Index: fs/aufs/inode.h Index: fs/aufs/misc.c - begin supporting LSM, still testing. Index: util/unionctl - bugfix: typo or dropped single quotation. - bugfix: support a relative path for --whereis. - abort when the --whereis argument does not exist. Index: README Index: local.mk Index: fs/aufs/Makefile Index: fs/aufs/file.h Index: fs/aufs/i_op.c Index: fs/aufs/opts.c Index: fs/aufs/whout.h Index: include/linux/aufs_type.h Index: util/aufs.in.5 - less important changes ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642