IMA + O_DIRECT (Re: [PATCH 0/1] fix IMA + Apparmor kernel panic)

2014-05-08 Thread J. R. Okajima
the file from IMA? J. R. Okajima -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

IMA + O_DIRECT (Re: [PATCH 0/1] fix IMA + Apparmor kernel panic)

2014-05-08 Thread J. R. Okajima
IMA? J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] NFSD, lost nfserrno() call in nfsd_setattr()

2014-03-25 Thread J. R. Okajima
"J. Bruce Fields": > On Wed, Feb 19, 2014 at 12:27:53AM +0900, J. R. Okajima wrote: > > > > There is a regression in > > 208d0ac 2014-01-07 nfsd4: break only delegations when appropriate > > which deletes an nfserrno() call in nfsd_setattr() (by acci

Re: [PATCH] NFSD, lost nfserrno() call in nfsd_setattr()

2014-03-25 Thread J. R. Okajima
J. Bruce Fields: On Wed, Feb 19, 2014 at 12:27:53AM +0900, J. R. Okajima wrote: There is a regression in 208d0ac 2014-01-07 nfsd4: break only delegations when appropriate which deletes an nfserrno() call in nfsd_setattr() (by accident, probably), and NFSD becomes ignoring an error

Re: [PATCH 00/13] cross rename v4

2014-02-24 Thread J. R. Okajima
an inode for every whiteout? I'd suggest making a hardlink. For some filesystems which don't support hardlinks, we have to consume an inode per whiteout. But when the fs supports hardlinks, we can re-use the inode and consume a few inodes only. J. R. Okajima -- To unsubscribe from this list: send

Re: [PATCH 00/13] cross rename v4

2014-02-24 Thread J. R. Okajima
for every whiteout? I'd suggest making a hardlink. For some filesystems which don't support hardlinks, we have to consume an inode per whiteout. But when the fs supports hardlinks, we can re-use the inode and consume a few inodes only. J. R. Okajima -- To unsubscribe from this list: send the line

[PATCH] NFSD, lost nfserrno() call in nfsd_setattr()

2014-02-18 Thread J. R. Okajima
There is a regression in 208d0ac 2014-01-07 nfsd4: break only delegations when appropriate which deletes an nfserrno() call in nfsd_setattr() (by accident, probably), and NFSD becomes ignoring an error from VFS. Here is a patch to fix it. J. R. Okajima diff --git a/fs/nfsd/vfs.c b/fs

[PATCH] NFSD, lost nfserrno() call in nfsd_setattr()

2014-02-18 Thread J. R. Okajima
There is a regression in 208d0ac 2014-01-07 nfsd4: break only delegations when appropriate which deletes an nfserrno() call in nfsd_setattr() (by accident, probably), and NFSD becomes ignoring an error from VFS. Here is a patch to fix it. J. R. Okajima diff --git a/fs/nfsd/vfs.c b/fs

Re: [PATCH 3/6] Squashfs: add multi-threaded decompression using percpu variables

2013-11-18 Thread J. R. Okajima
e time, then does squashfs simply return ENOMEM because the memory shrinker cannot run on any core? If it is true, we may need a rule "no new resources for decompressing" since users may prefer the "slow but successful decompression" than getting ENOMEM. If this mail is totaly poi

Re: [PATCH 3/6] Squashfs: add multi-threaded decompression using percpu variables

2013-11-18 Thread J. R. Okajima
core? If it is true, we may need a rule no new resources for decompressing since users may prefer the slow but successful decompression than getting ENOMEM. If this mail is totaly pointless, please ignore. J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [RFC PATCH] vfs: add permute operation

2013-05-30 Thread J. R. Okajima
actual rename on a branch and then handles other actions (make it opaque, update the attributes, etc). If an error happens in these actions, aufs simply renames the whiteouted name back and returns an error. If all are succeeded, aufs registers a function to remove the whiteouted unique tempor

Re: [RFC PATCH] vfs: add permute operation

2013-05-30 Thread J. R. Okajima
and returns an error. If all are succeeded, aufs registers a function to remove the whiteouted unique temporary name completely and asynchronously to the system global workqueue. J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH 2/9] vfs: export do_splice_direct() to modules

2013-03-22 Thread J. R. Okajima
h one more prefix, the name loses the role of whiteout. Aufs simply ignores such doubly whiteouted name. The demerit is that aufs has to limit the length of the name. J. R. Okajima -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord.

Re: [PATCH 2/9] vfs: export do_splice_direct() to modules

2013-03-22 Thread J. R. Okajima
_pos); mutex_unlock(>i_mutex); ::: sb_end_write(inode->i_sb); Process C would block *BEFORE* i_mutex by sb_start_write()? No? Honestly speaking I didn't pay attention about the freeze feature since I don't use it. I am making aufs to support it now. But I do

Re: [PATCH 2/9] vfs: export do_splice_direct() to modules

2013-03-22 Thread J. R. Okajima
ning feature is not implemented as a fs, the solution will not be so easy. I am afraid UnionMount will need to introduce a new counter (or a new flag) to indicate the task entered the union, and adjust the lock class or decide to call lockdep_off() for sb_writers. I don't think it is a good idea. J

Re: [PATCH 2/9] vfs: export do_splice_direct() to modules

2013-03-22 Thread J. R. Okajima
is not implemented as a fs, the solution will not be so easy. I am afraid UnionMount will need to introduce a new counter (or a new flag) to indicate the task entered the union, and adjust the lock class or decide to call lockdep_off() for sb_writers. I don't think it is a good idea. J. R. Okajima

Re: [PATCH 2/9] vfs: export do_splice_direct() to modules

2013-03-22 Thread J. R. Okajima
-i_mutex); ::: sb_end_write(inode-i_sb); Process C would block *BEFORE* i_mutex by sb_start_write()? No? Honestly speaking I didn't pay attention about the freeze feature since I don't use it. I am making aufs to support it now. But I don't know how to test it... J. R. Okajima

Re: [PATCH 2/9] vfs: export do_splice_direct() to modules

2013-03-22 Thread J. R. Okajima
whiteouted name. The demerit is that aufs has to limit the length of the name. J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH 2/9] vfs: export do_splice_direct() to modules

2013-03-19 Thread J. R. Okajima
ked file. While vfs_unlink() rejects such case, it may not matter for the underlying fs. Need to verify FS including jounals. J. R. Okajima -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 2/9] vfs: export do_splice_direct() to modules

2013-03-19 Thread J. R. Okajima
that the target name is still available for copyup - make the completed file visible by -link() It is ineteresting to -link() with the unlinked file. While vfs_unlink() rejects such case, it may not matter for the underlying fs. Need to verify FS including jounals. J. R. Okajima -- To unsubscribe

Re: [PATCH 0/9] overlay filesystem: request for inclusion (v17)

2013-03-16 Thread J. R. Okajima
orting. When the FS is a network filesystem, the new d_type has to be available on both of server and client. Of course, the server may be other than linux. Even if FS is local, users may setup dual-boot. And the other OS has to recognize the new d_type value. I still doubt it is a good approach. J. R. Okaji

Re: [PATCH 0/9] overlay filesystem: request for inclusion (v17)

2013-03-16 Thread J. R. Okajima
would be harder to be merged. J. R. Okajima -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 0/9] overlay filesystem: request for inclusion (v17)

2013-03-16 Thread J. R. Okajima
to be merged. J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 0/9] overlay filesystem: request for inclusion (v17)

2013-03-16 Thread J. R. Okajima
of server and client. Of course, the server may be other than linux. Even if FS is local, users may setup dual-boot. And the other OS has to recognize the new d_type value. I still doubt it is a good approach. J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH 0/9] overlay filesystem: request for inclusion (v17)

2013-03-15 Thread J. R. Okajima
turn from btrfs. For example, repeat "ln fileA $very_lng_filename", then btrfs returns EMLINK so soon. And aufs refers the common set of inode attribute. I mean attrs declared in VFS. Also I know some filesystems don't maintain attrs on each operation. For such fs, aufs calls vfs_get

Re: [PATCH 0/9] overlay filesystem: request for inclusion (v17)

2013-03-15 Thread J. R. Okajima
. For example, repeat ln fileA $very_lng_filename, then btrfs returns EMLINK so soon. And aufs refers the common set of inode attribute. I mean attrs declared in VFS. Also I know some filesystems don't maintain attrs on each operation. For such fs, aufs calls vfs_getattr() internally. J. R. Okajima

Re: [PATCH 0/9] overlay filesystem: request for inclusion (v17)

2013-03-14 Thread J. R. Okajima
esented > > +by its filename. UnionMount takes an approach of a file mode, but I am > > +afraid several utilities (find(1) or something) will have to support it. > > Why the devil should find(1) even see them? It is the case when find(1) for the layer-fs/branch-fs directly. J.

Re: [PATCH 0/9] overlay filesystem: request for inclusion (v17)

2013-03-14 Thread J. R. Okajima
ersion is aufs3 (for linux-3.x series), there is no essential changes about whiteout since aufs2. J. R. Okajima -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/m

DT_WHT (Re: [PATCH 00/13] overlay filesystem: request for inclusion (v16))

2013-03-14 Thread J. R. Okajima
little. Filesystems may have a limit for the consumed size by xattr. If xattr reaches the limit, then several operation in overlayfs will be unusable. J. R. Okajima -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger

DT_WHT (Re: [PATCH 00/13] overlay filesystem: request for inclusion (v16))

2013-03-14 Thread J. R. Okajima
size by xattr. If xattr reaches the limit, then several operation in overlayfs will be unusable. J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH 0/9] overlay filesystem: request for inclusion (v17)

2013-03-14 Thread J. R. Okajima
-3.x series), there is no essential changes about whiteout since aufs2. J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH 0/9] overlay filesystem: request for inclusion (v17)

2013-03-14 Thread J. R. Okajima
an approach of a file mode, but I am +afraid several utilities (find(1) or something) will have to support it. Why the devil should find(1) even see them? It is the case when find(1) for the layer-fs/branch-fs directly. J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCH 00/13] overlay filesystem: request for inclusion (v16)

2013-03-12 Thread J. R. Okajima
to mainline, but if the development of UnionMount is really stopped, then I'd ask people to consider merging aufs as well as overlayfs. J. R. Okajima -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 00/13] overlay filesystem: request for inclusion (v16)

2013-03-12 Thread J. R. Okajima
, then I'd ask people to consider merging aufs as well as overlayfs. J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH 00/13] overlay filesystem: request for inclusion (v15)

2012-09-20 Thread J. R. Okajima
s. One approach is implemented in aufs. I guess you will try another one. That is what I am interesed. J. R. Okajima -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kerne

Re: [PATCH 00/13] overlay filesystem: request for inclusion (v15)

2012-09-20 Thread J. R. Okajima
) to GIT on SourceForge due to the request from Ubuntu people. J. R. Okajima -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 00/13] overlay filesystem: request for inclusion (v15)

2012-09-20 Thread J. R. Okajima
to the request from Ubuntu people. J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 00/13] overlay filesystem: request for inclusion (v15)

2012-09-20 Thread J. R. Okajima
is implemented in aufs. I guess you will try another one. That is what I am interesed. J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH 05/13] overlayfs: add statfs support

2012-08-31 Thread J. R. Okajima
thread in detail. [RFC 0/5] pathconf(3) with _PC_LINK_MAX <http://marc.info/?l=linux-kernel=126008634810706=2> J. R. Okajima -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 05/13] overlayfs: add statfs support

2012-08-31 Thread J. R. Okajima
in detail. [RFC 0/5] pathconf(3) with _PC_LINK_MAX http://marc.info/?l=linux-kernelm=126008634810706w=2 J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [overlayfs/port] overlayfs: v13 port attempt to kernel 3.5

2012-08-20 Thread J. R. Okajima
nMount is really stopped, then I'd ask people to consider merging aufs as well as overlayfs. but I am not sure whether LKML people are still waiting for UnionMount and rejecting aufs. J. R. Okajima -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bod

Re: [overlayfs/port] overlayfs: v13 port attempt to kernel 3.5

2012-08-20 Thread J. R. Okajima
to consider merging aufs as well as overlayfs. but I am not sure whether LKML people are still waiting for UnionMount and rejecting aufs. J. R. Okajima -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

<    1   2