Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/hfsplus/acl.h |9 +--
fs/hfsplus/dir.c |1 +
fs/hfsplus/inode.c |3 +-
fs/hfsplus/posix_acl.c | 161 +---
fs/hfsplus/xattr.c |5 +-
fs/hfsplus/xattr.h |2 -
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/jffs2/acl.c | 134 +---
fs/jffs2/acl.h |7 +--
fs/jffs2/dir.c |1 +
fs/jffs2/file.c|1 +
fs/jffs2/fs.c |2 +-
fs/jffs2/symlink.c |1 +
fs/jffs2/xattr.c |
This contains some major refactoring for the create path so that
inodes are created with the right mode to start with instead of
fixing it up later.
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/gfs2/acl.c | 229 +++
fs/gfs2/acl.h |
Rename the current posix_acl_chmod to __posix_acl_chmod and add
a fully featured ACL chmod helper that uses the -set_acl inode
operation.
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/9p/acl.c |2 +-
fs/btrfs/acl.c|2 +-
fs/ext2/acl.c |2 +-
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/reiserfs/acl.h |4 +-
fs/reiserfs/file.c |1 +
fs/reiserfs/namei.c |3 +
fs/reiserfs/xattr.c |5 +-
fs/reiserfs/xattr_acl.c | 175 ---
5 files changed, 36
Copy the scheme I introduced to btrfs many years ago to only use the
xattr handler for ACLs, but pass plain attrs straight through.
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/jfs/acl.c | 105 --
fs/jfs/file.c |4 +-
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/ext2/acl.c | 176 -
fs/ext2/acl.h |8 +--
fs/ext2/file.c |1 +
fs/ext2/inode.c |2 +-
fs/ext2/namei.c |2 +
fs/ext2/xattr.c |8 +--
fs/ext2/xattr.h |2 -
fs/ext3/acl.c |
Also create inodes with the proper mode instead of fixing it up later.
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/xfs/xfs_acl.c | 138 +++-
fs/xfs/xfs_acl.h |9 +---
fs/xfs/xfs_iops.c | 39 ---
fs/xfs/xfs_iops.h |
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/reiserfs/xattr_acl.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/fs/reiserfs/xattr_acl.c b/fs/reiserfs/xattr_acl.c
index 06c04f7..6f721ea 100644
--- a/fs/reiserfs/xattr_acl.c
+++
f2fs has some weird mode bit handling, so still using the old
chmod code for now.
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/f2fs/acl.c | 140 +--
fs/f2fs/acl.h |1 +
fs/f2fs/file.c |1 +
fs/f2fs/namei.c |2 +
And instead convert tmpfs to use the new generic ACL code, with two stub
methods provided for in-memory filesystems.
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/Kconfig |6 +-
fs/Makefile |1 -
fs/generic_acl.c| 184
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/nfs/inode.c |4 -
fs/nfs/nfs3acl.c | 287 ++--
fs/nfs/nfs3proc.c | 26 +++--
fs/nfs/nfs3super.c |3 +
include/linux/nfs_fs.h | 10 +-
5 files changed, 79
Rename the current posix_acl_created to __posix_acl_create and add
a fully featured helper to set up the ACLs on file creation that
uses get_acl().
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/9p/acl.c |2 +-
fs/btrfs/acl.c|2 +-
fs/ext2/acl.c
This contains some major refactoring for the create path so that
inodes are created with the right mode to start with instead of
fixing it up later.
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/ocfs2/acl.c | 234 ++-
fs/ocfs2/acl.h
With the -set_acl inode operation we can implement the Posix ACL
xattr handlers in generic code instead of duplicating them all
over the tree.
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/xattr_acl.c | 95 +++
On Dec 1, 2013, at 2:59 PM, Christoph Hellwig wrote:
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/hfsplus/acl.h |9 +--
fs/hfsplus/dir.c |1 +
fs/hfsplus/inode.c |3 +-
fs/hfsplus/posix_acl.c | 161 +---
Hello,
However, if you find such superblocks checksum mismatch very often
during scrub, it maybe
there are something wrong with disk!
I'm sorry, but I don't think there's a problem with my disks because I
was able to trigger the errors that increment the gen error counter
during scrub on a
On Tue, Nov 26, 2013 at 08:06:36PM -0700, Chris Murphy wrote:
On Nov 26, 2013, at 5:51 PM, Dave Chinner da...@fromorbit.com
wrote:
On Mon, Nov 25, 2013 at 11:40:49PM -0700, Chris Murphy wrote:
Hi,
Is there supposed to be an /sbin/fsck.btrfs? I'm seeing a
handful of threads
On 12/02/2013 04:45 AM, Sebastian Ochmann wrote:
Hello,
However, if you find such superblocks checksum mismatch very often
during scrub, it maybe
there are something wrong with disk!
I'm sorry, but I don't think there's a problem with my disks because I
was able to trigger the errors that
On 12/02/2013 09:30 AM, Wang Shilong wrote:
On 12/02/2013 04:45 AM, Sebastian Ochmann wrote:
Hello,
However, if you find such superblocks checksum mismatch very often
during scrub, it maybe
there are something wrong with disk!
I'm sorry, but I don't think there's a problem with my disks
While scrubbing superblocks we will check every superblock's checksum
and generation. However, checking superblock's generation may cause
some problems, this is because tree log sync only flush first superblock
, while this will cause other superblocks' generation mismatch.
We only report
On 12/02/2013 10:52 AM, Wang Shilong wrote:
While scrubbing superblocks we will check every superblock's checksum
and generation. However, checking superblock's generation may cause
some problems, this is because tree log sync only flush first superblock
, while this will cause other
btrfsck reports backref error after running init-csum-tree
btrfsck --init-csum-tree /dev/sdc
btrfsck /dev/sdc
::
ref mismatch on [29474816 16384] extent item 1, found 0
Backref 29474816 root 7 not referenced back 0x1101d30
Incorrect global backref count on 29474816 found 1 wanted 0
backpointer
Signed-off-by: Anand Jain anand.j...@oracle.com
---
cmds-qgroup.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmds-qgroup.c b/cmds-qgroup.c
index 5a393bd..957fbc9 100644
--- a/cmds-qgroup.c
+++ b/cmds-qgroup.c
@@ -99,8 +99,8 @@ static int qgroup_create(int create,
Signed-off-by: Anand Jain anand.j...@oracle.com
---
mkfs.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/mkfs.c b/mkfs.c
index de1beed..0843600 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -1196,8 +1196,7 @@ static void process_fs_features(u64 flags)
for (i = 0; i
Further this needs your review. How should be a complete use case
of this init-csum-tree feature. mainly how do we expect this work
in the real scenario. what problem does this solve.
Thanks, Anand
On 12/02/13 02:11 PM, Anand Jain wrote:
btrfsck reports backref error after running
I hit a problem that i can not start scrub when i am trying to track
superblock generation mismatch problems.
The fact is that we are trying to check whether we have started a scrub
operation
in userspace, this will make us can't start scrub if that record file is damaged
itself. By adding a
This patch implements the *core* of the idea suggested at
https://btrfs.wiki.kernel.org/index.php/Project_ideas#Linear_chunk_allocation_mode.
Other required changes (e.g. balance/restripe) will be made based on
the reviews obtained for this patch.
On a multi-disk filesystem instance using single
28 matches
Mail list logo