From: Filipe Manana
This test verifies that after an incremental btrfs send the
replicated file has the same exact hole and data structure as in
the origin filesystem. This didn't use to be the case before the
send stream version 2 - holes were sent as write operations of 0
From: Howard McLauchlan
This test aims to verify correct behaviour with chattr operations and
btrfs send/receive. The intent is to check general correctness as well
as special interactions with troublesome flags(immutable, append only).
This test is motivated by a bug in
From: Howard McLauchlan
Presently, btrfs send/receive does not propagate inode attribute flags;
all chattr operations are effectively discarded upon transmission.
This patch adds userspace support for inode attribute flags. Kernel
support can be found under the commit:
From: Howard McLauchlan
Adding entries to dump for new commands (total data size, fallocate).
Signed-off-by: Howard McLauchlan
---
send-dump.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/send-dump.c
From: Filipe Manana
When specifying -vv print information about received write and clone commands
too,
as we do this for other commands already and it's very useful for debugging and
troubleshooting.
Signed-off-by: Filipe David Borba Manana
---
From: Filipe Manana
The fallocate send stream command, added in stream version 2, is used to
pre-allocate space for files and punch file holes. This change implements
the callback for that new command, using the fallocate function from the
standard C library to carry out the
From: Filipe Manana
This is a followup to the kernel patch titled:
Btrfs: send, implement total data size command to allow for progress
estimation
This makes the btrfs send and receive commands aware of the new send flag,
named BTRFS_SEND_C_TOTAL_DATA_SIZE, which tells
From: Filipe Manana
This increases the send stream version from version 1 to version 2, adding
new commands:
1) total data size - used to tell the receiver how much file data the stream
will add or update;
2) fallocate - used to pre-allocate space for files and to punch
From: Filipe David Borba Manana
This new send flag makes send calculate first the amount of new file data (in
bytes)
the send root has relatively to the parent root, or for the case of a
non-incremental
send, the total amount of file data the stream will create (including
From: Filipe David Borba Manana
Instead of sending a write command with a data buffer filled with 0 value bytes,
use the fallocate command, introduced in the send stream version 2, to tell the
receiver to punch a file hole using the fallocate system call.
[Howard: rebased on
From: Filipe David Borba Manana
So that applications can find out what's the highest send stream
version supported/implemented by the running kernel:
$ cat /sys/fs/btrfs/send/stream_version
2
[Howard: rebased on 4.17-rc4]
Signed-off-by: Howard McLauchlan
From: Howard McLauchlan
Presently btrfs send/receive does not propagate inode attribute flags;
all chattr operations are effectively discarded upon transmission.
This patch adds kernel support for inode attribute flags. Userspace
support can be found under the commit:
In trying to implement support for inode flags in send/receive, the need for
proper versioning/compatibility came up. I found some of Filipe's old patches
[1] for send stream v2 and rebased them on 4.17-rc4. My chattr changes are
landed on top and also gated behind send stream v2. Similar was done
From: Filipe David Borba Manana
The send stream version 2 adds the fallocate command, which can be used to
allocate extents for a file or punch holes in a file. Previously we were
ignoring file prealloc extents or treating them as extents filled with 0
bytes and sending a
From: Filipe David Borba Manana
This increases the send stream version from version 1 to version 2, adding
new commands:
1) total data size - used to tell the receiver how much file data the stream
will add or update;
2) fallocate - used to pre-allocate space for files
On 5/8/18 7:38 PM, Dave Chinner wrote:
> On Tue, May 08, 2018 at 11:03:20AM -0700, Mark Fasheh wrote:
>> Hi,
>>
>> The VFS's super_block covers a variety of filesystem functionality. In
>> particular we have a single structure representing both I/O and
>> namespace domains.
>>
>> There are
Filipe Manana 於 2018-05-08 19:12 寫到:
On Tue, May 8, 2018 at 11:30 AM, robbieko
wrote:
Hi Filipe Manana,
Although the snapshot is readonly, when the snapshot is created,
in order to modify the last_snapshot, it will cause generation
changes,
and it will affect the
On Tue, May 08, 2018 at 11:03:20AM -0700, Mark Fasheh wrote:
> Hi,
>
> The VFS's super_block covers a variety of filesystem functionality. In
> particular we have a single structure representing both I/O and
> namespace domains.
>
> There are requirements to de-couple this functionality. For
On Tue, May 08, 2018 at 02:16:06PM -0400, Noah Massey wrote:
> Silly question, but is 'mysnapshot' actually accessible at './mysnapshot' ?
> Because the output from btrfs send should immediately output
> 'At subvol mysnapshot'
Inded. This is not even the right command considering I only kept the
On Tue, May 8, 2018 at 11:11 AM, robbieko wrote:
> From: Robbie Ko
>
> Currently when checking if we can delete a directory, we always
> check if all its children have been processed.
>
> Example: A directory with 2,000,000 files was deleted
>
On Tue, May 8, 2018 at 11:11 AM, robbieko wrote:
> From: Robbie Ko
>
> moving the allocation to the end in order to avoid unnecessary
> allocations
>
> Signed-off-by: Robbie Ko
Reviewed-by: Filipe Manana
>
Hi,
The VFS's super_block covers a variety of filesystem functionality. In
particular we have a single structure representing both I/O and
namespace domains.
There are requirements to de-couple this functionality. For example,
filesystems with more than one root (such as btrfs subvolumes) can
We want to de-couple some items from struct super_block, in particular those
that provide a 'fiew' into an fs.
Introduce a small struct, fs_view to contain these fields. This first patch
has a mostly empty fs_view. We do however, link it into the VFS:
Each super_block gets a default fs_view
Signed-off-by: Mark Fasheh
---
fs/aio.c | 6 ++--
fs/attr.c| 12 +++
fs/binfmt_misc.c | 6 ++--
fs/block_dev.c | 2 +-
fs/cachefiles/rdwr.c | 4 +--
fs/dcache.c | 8 ++---
fs/direct-io.c | 8 ++---
fs/eventpoll.c |
Signed-off-by: Mark Fasheh
---
arch/arc/kernel/troubleshoot.c| 2 +-
arch/powerpc/platforms/cell/spufs/inode.c | 6 +++---
arch/s390/hypfs/inode.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git
Signed-off-by: Mark Fasheh
---
include/linux/backing-dev.h | 4 +-
include/linux/cleancache.h | 2 +-
include/linux/fs.h | 29 +-
include/linux/fscrypt_supp.h | 4 +-
include/linux/hugetlb.h | 2 +-
include/linux/nfs_fs.h
Signed-off-by: Mark Fasheh
---
ipc/mqueue.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index a808f29d4c5a..ac65b309c393 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -106,7 +106,7 @@ static inline struct
Signed-off-by: Mark Fasheh
---
drivers/block/loop.c | 6 ++---
drivers/infiniband/hw/qib/qib_fs.c | 2 +-
drivers/md/md-bitmap.c | 2 +-
drivers/staging/lustre/lustre/llite/dir.c | 18
Signed-off-by: Mark Fasheh
---
security/apparmor/apparmorfs.c | 4 ++--
security/commoncap.c | 8
security/inode.c | 2 +-
security/integrity/evm/evm_crypto.c | 4 ++--
security/integrity/ima/ima_policy.c | 4 ++--
Signed-off-by: Mark Fasheh
---
kernel/audit.c | 2 +-
kernel/audit_fsnotify.c | 2 +-
kernel/audit_watch.c| 5 +++--
kernel/auditsc.c| 8
kernel/bpf/inode.c | 6 +++---
kernel/bpf/offload.c| 4 ++--
kernel/events/core.c| 4 ++--
7 files
Signed-off-by: Mark Fasheh
---
fs/9p/acl.c| 3 ++-
fs/9p/v9fs.h | 2 +-
fs/9p/vfs_inode.c | 8
fs/9p/vfs_inode_dotl.c | 14 +++---
4 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/fs/9p/acl.c b/fs/9p/acl.c
index
Signed-off-by: Mark Fasheh
---
fs/adfs/dir.c | 6 +++---
fs/adfs/inode.c | 8
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/fs/adfs/dir.c b/fs/adfs/dir.c
index 29444c83da48..e28357fcb2d4 100644
--- a/fs/adfs/dir.c
+++ b/fs/adfs/dir.c
@@ -20,7 +20,7 @@
Signed-off-by: Mark Fasheh
---
fs/affs/amigaffs.c | 10 +-
fs/affs/bitmap.c | 2 +-
fs/affs/dir.c | 2 +-
fs/affs/file.c | 28 ++--
fs/affs/inode.c| 16
fs/affs/namei.c| 12 ++--
fs/affs/symlink.c |
Signed-off-by: Mark Fasheh
---
fs/afs/callback.c | 2 +-
fs/afs/dir.c | 8
fs/afs/file.c | 2 +-
fs/afs/write.c| 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/fs/afs/callback.c b/fs/afs/callback.c
index f4291b576054..73371c83b646
Signed-off-by: Mark Fasheh
---
net/sunrpc/auth_gss/auth_gss.c | 4 ++--
net/sunrpc/rpc_pipe.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c
index 9463af4b32e8..3560956424fe 100644
Signed-off-by: Mark Fasheh
---
mm/cleancache.c | 10 +-
mm/filemap.c| 12 ++--
mm/hugetlb.c| 2 +-
mm/memory-failure.c | 2 +-
mm/shmem.c | 29 +++--
mm/swapfile.c | 4 ++--
6 files changed, 30
Signed-off-by: Mark Fasheh
---
fs/autofs4/dev-ioctl.c | 2 +-
fs/autofs4/root.c | 20 ++--
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/fs/autofs4/dev-ioctl.c b/fs/autofs4/dev-ioctl.c
index b7c816f39404..6b28b01e5022 100644
---
Signed-off-by: Mark Fasheh
---
fs/befs/linuxvfs.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index af2832aaeec5..fc997025b9a0 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -131,7 +131,7
Signed-off-by: Mark Fasheh
---
fs/ceph/addr.c | 2 +-
fs/ceph/caps.c | 16
fs/ceph/dir.c| 24
fs/ceph/file.c | 16
fs/ceph/inode.c | 16
fs/ceph/ioctl.c | 6 +++---
Signed-off-by: Mark Fasheh
---
fs/btrfs/compression.c | 4 +-
fs/btrfs/ctree.h| 2 +-
fs/btrfs/delayed-inode.c| 4 +-
fs/btrfs/disk-io.c | 8 +--
fs/btrfs/export.c | 4 +-
fs/btrfs/extent-tree.c | 14 ++---
Signed-off-by: Mark Fasheh
---
fs/cifs/cifsacl.c | 4 ++--
fs/cifs/cifsfs.c| 4 ++--
fs/cifs/cifsglob.h | 2 +-
fs/cifs/dir.c | 29 -
fs/cifs/file.c | 42 ++
fs/cifs/fscache.c | 4 ++--
Signed-off-by: Mark Fasheh
---
fs/bfs/dir.c | 23 ---
fs/bfs/file.c | 4 ++--
fs/bfs/inode.c | 16 +---
3 files changed, 23 insertions(+), 20 deletions(-)
diff --git a/fs/bfs/dir.c b/fs/bfs/dir.c
index ee832ca5f734..124c1eedb53c 100644
---
Signed-off-by: Mark Fasheh
---
fs/coda/dir.c | 25 +
fs/coda/file.c| 7 ---
fs/coda/inode.c | 4 ++--
fs/coda/pioctl.c | 4 ++--
fs/coda/symlink.c | 2 +-
5 files changed, 22 insertions(+), 20 deletions(-)
diff --git a/fs/coda/dir.c
Signed-off-by: Mark Fasheh
---
fs/configfs/inode.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/configfs/inode.c b/fs/configfs/inode.c
index ad718e5e37bb..4f28a7445336 100644
--- a/fs/configfs/inode.c
+++ b/fs/configfs/inode.c
@@ -91,13 +91,13 @@
Signed-off-by: Mark Fasheh
---
fs/crypto/bio.c | 10 +-
fs/crypto/crypto.c | 4 ++--
fs/crypto/fname.c | 4 ++--
fs/crypto/keyinfo.c | 8
fs/crypto/policy.c | 12 ++--
5 files changed, 19 insertions(+), 19 deletions(-)
diff --git
Signed-off-by: Mark Fasheh
---
fs/cramfs/inode.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c
index 017b0ab19bc4..eb633de7ccbe 100644
--- a/fs/cramfs/inode.c
+++ b/fs/cramfs/inode.c
@@ -294,7
Signed-off-by: Mark Fasheh
---
fs/ecryptfs/crypto.c | 5 ++---
fs/ecryptfs/file.c | 5 ++---
fs/ecryptfs/inode.c | 15 +++
3 files changed, 11 insertions(+), 14 deletions(-)
diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c
index
Signed-off-by: Mark Fasheh
---
fs/exportfs/expfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/exportfs/expfs.c b/fs/exportfs/expfs.c
index 329a5d103846..d0ce48374bda 100644
--- a/fs/exportfs/expfs.c
+++ b/fs/exportfs/expfs.c
@@ -383,7 +383,7 @@ static
Signed-off-by: Mark Fasheh
---
fs/efivarfs/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/efivarfs/inode.c b/fs/efivarfs/inode.c
index 71ff317e..5e0de72476bf 100644
--- a/fs/efivarfs/inode.c
+++ b/fs/efivarfs/inode.c
@@ -92,7 +92,7 @@ static
Signed-off-by: Mark Fasheh
---
fs/ext2/balloc.c | 10 +++
fs/ext2/dir.c| 32 ++--
fs/ext2/file.c | 6 ++--
fs/ext2/ialloc.c | 16 +-
fs/ext2/inode.c | 82 +++-
fs/ext2/ioctl.c
Signed-off-by: Mark Fasheh
---
fs/f2fs/data.c | 6 +++---
fs/f2fs/f2fs.h | 2 +-
fs/f2fs/file.c | 36 ++--
fs/f2fs/inline.c | 4 ++--
fs/f2fs/inode.c| 6 +++---
fs/f2fs/namei.c| 11 ++-
fs/f2fs/recovery.c | 11
Signed-off-by: Mark Fasheh
---
fs/exofs/dir.c | 6 +++---
fs/exofs/inode.c | 12 ++--
fs/exofs/namei.c | 4 ++--
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/fs/exofs/dir.c b/fs/exofs/dir.c
index f0138674c1ed..592471362243 100644
---
Signed-off-by: Mark Fasheh
---
fs/efs/dir.c | 2 +-
fs/efs/file.c| 2 +-
fs/efs/inode.c | 6 +++---
fs/efs/namei.c | 4 ++--
fs/efs/symlink.c | 4 ++--
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/fs/efs/dir.c b/fs/efs/dir.c
index
Signed-off-by: Mark Fasheh
---
fs/fat/cache.c | 12 ++--
fs/fat/dir.c | 26 +-
fs/fat/fat.h | 2 +-
fs/fat/fatent.c | 10 +-
fs/fat/file.c| 24
fs/fat/inode.c | 28
Signed-off-by: Mark Fasheh
---
fs/fuse/dir.c| 13 +++--
fs/fuse/file.c | 6 +++---
fs/fuse/fuse_i.h | 2 +-
fs/fuse/inode.c | 7 ---
4 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c
index
Signed-off-by: Mark Fasheh
---
fs/freevxfs/vxfs_bmap.c | 14 +++---
fs/freevxfs/vxfs_inode.c | 2 +-
fs/freevxfs/vxfs_lookup.c | 10 +-
fs/freevxfs/vxfs_subr.c | 4 ++--
4 files changed, 15 insertions(+), 15 deletions(-)
diff --git
Signed-off-by: Mark Fasheh
---
fs/hfs/attr.c| 4 ++--
fs/hfs/catalog.c | 10 +-
fs/hfs/dir.c | 11 ++-
fs/hfs/extent.c | 10 +-
fs/hfs/inode.c | 32
5 files changed, 34 insertions(+), 33 deletions(-)
diff
Signed-off-by: Mark Fasheh
---
fs/gfs2/aops.c| 9 +
fs/gfs2/bmap.c| 9 +
fs/gfs2/dir.c | 3 ++-
fs/gfs2/export.c | 2 +-
fs/gfs2/file.c| 4 ++--
fs/gfs2/incore.h | 2 +-
fs/gfs2/inode.c | 8
fs/gfs2/meta_io.h | 2 +-
fs/gfs2/super.c
Signed-off-by: Mark Fasheh
---
fs/hfsplus/attributes.c | 12 ++--
fs/hfsplus/bnode.c | 2 +-
fs/hfsplus/catalog.c| 12 ++--
fs/hfsplus/dir.c| 22 +++---
fs/hfsplus/extents.c| 11 ++-
fs/hfsplus/inode.c | 18
Signed-off-by: Mark Fasheh
---
fs/hpfs/dir.c | 76 +---
fs/hpfs/dnode.c | 176
fs/hpfs/ea.c| 2 +-
fs/hpfs/file.c | 45 ---
fs/hpfs/inode.c | 77 +
Signed-off-by: Mark Fasheh
---
fs/hostfs/hostfs_kern.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index c148e7f4f451..b99d08b7ef34 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
Signed-off-by: Mark Fasheh
---
fs/jffs2/dir.c | 16
fs/jffs2/file.c | 8
fs/jffs2/fs.c| 8
fs/jffs2/xattr.c | 6 +++---
4 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/fs/jffs2/dir.c b/fs/jffs2/dir.c
index
Signed-off-by: Mark Fasheh
---
fs/hugetlbfs/inode.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
index b9a254dcc0e7..31d2a6051bea 100644
--- a/fs/hugetlbfs/inode.c
+++ b/fs/hugetlbfs/inode.c
@@ -791,7
Signed-off-by: Mark Fasheh
---
fs/jbd2/journal.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index 3fbf48ec2188..e1834a69cd41 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -1262,12
Signed-off-by: Mark Fasheh
---
fs/isofs/dir.c| 2 +-
fs/isofs/export.c | 6 +++---
fs/isofs/inode.c | 22 --
fs/isofs/joliet.c | 4 ++--
fs/isofs/namei.c | 4 ++--
fs/isofs/rock.c | 29 +++--
6 files changed, 35
Signed-off-by: Mark Fasheh
---
fs/jfs/acl.c | 2 +-
fs/jfs/file.c | 6 +--
fs/jfs/inode.c| 14 +++
fs/jfs/ioctl.c| 2 +-
fs/jfs/jfs_discard.c | 12 +++---
fs/jfs/jfs_dmap.c | 104 +
Signed-off-by: Mark Fasheh
---
fs/minix/bitmap.c | 18 ++
fs/minix/dir.c | 18 +-
fs/minix/inode.c| 10 +-
fs/minix/itree_common.c | 10 +-
fs/minix/itree_v1.c | 6 +++---
fs/minix/itree_v2.c | 2 +-
Signed-off-by: Mark Fasheh
---
fs/lockd/svclock.c | 8
fs/lockd/svcsubs.c | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/fs/lockd/svclock.c b/fs/lockd/svclock.c
index 3701bccab478..d13892c7bd89 100644
--- a/fs/lockd/svclock.c
+++
Signed-off-by: Mark Fasheh
---
fs/nfsd/blocklayout.c | 4 ++--
fs/nfsd/export.c | 8
fs/nfsd/nfs4recover.c | 2 +-
fs/nfsd/nfsctl.c | 4 ++--
fs/nfsd/nfssvc.c | 5 +++--
fs/nfsd/vfs.c | 8
6 files changed, 16 insertions(+), 15
Signed-off-by: Mark Fasheh
---
fs/kernfs/dir.c | 4 ++--
fs/kernfs/inode.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/kernfs/dir.c b/fs/kernfs/dir.c
index 89d1dc19340b..1239244e826a 100644
--- a/fs/kernfs/dir.c
+++ b/fs/kernfs/dir.c
@@ -1059,7
Signed-off-by: Mark Fasheh
---
fs/nilfs2/alloc.c | 10 -
fs/nilfs2/bmap.c| 4 ++--
fs/nilfs2/btnode.c | 6 +++---
fs/nilfs2/btree.c | 12 +--
fs/nilfs2/cpfile.c | 6 +++---
fs/nilfs2/dat.c | 2 +-
fs/nilfs2/dir.c | 24 ++---
Signed-off-by: Mark Fasheh
---
fs/nfs/blocklayout/rpc_pipefs.c| 2 +-
fs/nfs/callback_proc.c | 4 ++--
fs/nfs/dir.c | 22 +-
fs/nfs/export.c| 2 +-
fs/nfs/file.c
Signed-off-by: Mark Fasheh
---
fs/ntfs/aops.c| 16 ++--
fs/ntfs/bitmap.c | 11 ++-
fs/ntfs/dir.c | 10 ++-
fs/ntfs/file.c| 30 ---
fs/ntfs/inode.c | 231 +-
fs/ntfs/inode.h | 2 +-
fs/ntfs/logfile.c |
Signed-off-by: Mark Fasheh
---
fs/notify/fdinfo.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/notify/fdinfo.c b/fs/notify/fdinfo.c
index d478629c728b..857df5ce27ac 100644
--- a/fs/notify/fdinfo.c
+++ b/fs/notify/fdinfo.c
@@ -91,7 +91,8 @@ static
Signed-off-by: Mark Fasheh
---
fs/overlayfs/export.c | 2 +-
fs/overlayfs/inode.c | 6 +++---
fs/overlayfs/super.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/fs/overlayfs/export.c b/fs/overlayfs/export.c
index 87bd4148f4fb..41b23510f5b9 100644
---
Signed-off-by: Mark Fasheh
---
fs/omfs/dir.c | 24
fs/omfs/file.c | 37 +++--
fs/omfs/inode.c | 19 ++-
3 files changed, 41 insertions(+), 39 deletions(-)
diff --git a/fs/omfs/dir.c b/fs/omfs/dir.c
Signed-off-by: Mark Fasheh
---
fs/openpromfs/inode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/openpromfs/inode.c b/fs/openpromfs/inode.c
index 2200662a9bf1..d1c59e6252c5 100644
--- a/fs/openpromfs/inode.c
+++ b/fs/openpromfs/inode.c
@@ -229,7 +229,7
Signed-off-by: Mark Fasheh
---
fs/orangefs/file.c| 2 +-
fs/orangefs/namei.c | 12
fs/orangefs/orangefs-kernel.h | 8
3 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/fs/orangefs/file.c b/fs/orangefs/file.c
index
Signed-off-by: Mark Fasheh
---
fs/proc/array.c | 2 +-
fs/proc/base.c| 22 --
fs/proc/fd.c | 4 ++--
fs/proc/generic.c | 2 +-
fs/proc/namespaces.c | 2 +-
fs/proc/nommu.c | 2 +-
fs/proc/proc_sysctl.c | 4 ++--
On Tue, May 8, 2018 at 1:44 PM, Nicolas Porcel
wrote:
> Hello,
>
> When I do a btrfs send, I get the following error code:
>
> # btrfs send mysnapshot > /dev/null
> ERROR: send ioctl failed with -2: No such file or directory
>
Silly question, but is
Signed-off-by: Mark Fasheh
---
fs/qnx4/dir.c | 2 +-
fs/qnx4/inode.c | 4 ++--
fs/qnx4/namei.c | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/fs/qnx4/dir.c b/fs/qnx4/dir.c
index a6ee23aadd28..c0e764ce79dd 100644
--- a/fs/qnx4/dir.c
+++ b/fs/qnx4/dir.c
Signed-off-by: Mark Fasheh
---
fs/qnx6/dir.c | 8
fs/qnx6/inode.c | 4 ++--
fs/qnx6/namei.c | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/fs/qnx6/dir.c b/fs/qnx6/dir.c
index c1cfb8a19e9d..655d0eb9d82a 100644
--- a/fs/qnx6/dir.c
+++
Signed-off-by: Mark Fasheh
---
fs/quota/dquot.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c
index 020c597ef9b6..ba6d549323cb 100644
--- a/fs/quota/dquot.c
+++ b/fs/quota/dquot.c
@@
Signed-off-by: Mark Fasheh
---
fs/read_write.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/fs/read_write.c b/fs/read_write.c
index f8547b82dfb3..cf9900707558 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -146,7 +146,7 @@ loff_t
Signed-off-by: Mark Fasheh
---
fs/squashfs/dir.c | 26 ++
fs/squashfs/export.c | 2 +-
fs/squashfs/file.c| 34 ++
fs/squashfs/file_cache.c | 5 +++--
fs/squashfs/file_direct.c | 9 +
Signed-off-by: Mark Fasheh
---
fs/ramfs/inode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c
index 11201b2d06b9..57b78ae51ed1 100644
--- a/fs/ramfs/inode.c
+++ b/fs/ramfs/inode.c
@@ -101,7 +101,7 @@ struct inode
Signed-off-by: Mark Fasheh
---
fs/sysv/dir.c| 12 ++--
fs/sysv/ialloc.c | 8
fs/sysv/inode.c | 6 +++---
fs/sysv/itree.c | 29 +++--
fs/sysv/namei.c | 4 ++--
5 files changed, 30 insertions(+), 29 deletions(-)
diff --git
Signed-off-by: Mark Fasheh
---
fs/romfs/mmap-nommu.c | 4 ++--
fs/romfs/super.c | 24 +---
2 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/fs/romfs/mmap-nommu.c b/fs/romfs/mmap-nommu.c
index 1118a0dc6b45..0dbf9be30283 100644
---
Signed-off-by: Mark Fasheh
---
fs/ubifs/crypto.c | 4 ++--
fs/ubifs/dir.c| 30 +++---
fs/ubifs/file.c | 42 +-
fs/ubifs/ioctl.c | 4 ++--
fs/ubifs/super.c | 4 ++--
fs/ubifs/xattr.c | 10 +-
6
Signed-off-by: Mark Fasheh
---
fs/udf/dir.c | 2 +-
fs/udf/directory.c | 30
fs/udf/file.c | 6 +-
fs/udf/ialloc.c| 24 +++---
fs/udf/inode.c | 209 +++--
fs/udf/misc.c | 4 +-
Signed-off-by: Mark Fasheh
---
fs/ufs/balloc.c | 23 ---
fs/ufs/dir.c| 34 +-
fs/ufs/ialloc.c | 4 ++--
fs/ufs/inode.c | 37 +++--
fs/ufs/namei.c | 6 +++---
5 files changed, 53
There are many places where a dev_t:ino_t pair are passed to userspace
to uniquely describe an inode. Some file systems, like btrfs, have
multiple inode namespace internally and use a separate dev_t to make the
distinction between them.
The kernel typically uses sb->s_dev for the inode device.
Signed-off-by: Mark Fasheh
---
fs/xfs/xfs_acl.c| 2 +-
fs/xfs/xfs_aops.c | 4 ++--
fs/xfs/xfs_export.c | 4 ++--
fs/xfs/xfs_file.c | 10 -
fs/xfs/xfs_ioctl.c | 8 +++
fs/xfs/xfs_iops.c | 6 ++---
fs/xfs/xfs_pnfs.c | 2 +-
fs/xfs/xfs_trace.h | 64
Replace calls of inode_sb(inode)->s_dev with inode_view(inode)->v_dev.
Signed-off-by: Mark Fasheh
---
arch/arc/kernel/troubleshoot.c | 2 +-
drivers/staging/lustre/lustre/llite/dir.c | 2 +-
drivers/staging/lustre/lustre/llite/file.c | 2 +-
fs/eventpoll.c
Ensure that our per-subvolume anonymous dev_t gets published to userspace,
instead of the global device in struct super_block. We do this by embedding a
struct fs_view in btrfs_root. The anonymous device number is placed in
view->v_dev. Each inode is then pointed to the view embedded in their
We have some places which access s_dev directly from struct super_block.
Convert those to get v_dev from the default super block view.
Signed-off-by: Mark Fasheh
---
drivers/mtd/mtdsuper.c | 2 +-
drivers/staging/lustre/lustre/llite/llite_lib.c | 6
On Mon, Apr 30, 2018 at 02:16:59PM +0800, Qu Wenruo wrote:
> Current btrfs-check will check qgroup consistency, but even when it
> finds something wrong, the return value is still 0.
>
> Fix it by allowing report_qgroups() to return int to indicate qgroup
> mismatch, and also add extra logical to
Hello,
When I do a btrfs send, I get the following error code:
# btrfs send mysnapshot > /dev/null
ERROR: send ioctl failed with -2: No such file or directory
I get it after 70-100% of the bytes are sent.
$ uname -a
Linux nicolas-desktop 4.17.0-rc2_3+ #1 SMP PREEMPT Tue May 8
On Wed, May 02, 2018 at 02:52:54PM +0300, Nikolay Borisov wrote:
> Originally commit 2681e00f00fe ("btrfs-progs: check for matchingi
> free space in cache") added the account_super_bytes function to prevent
> false negative when running btrfs check. Turns out this function is
> really copied
On Tue, May 08, 2018 at 01:48:02PM +0800, Lu Fengqi wrote:
> The QGROUP_RELATION item is very special, it always exists in pairs
> (objectid and offset exchange). Its objectid and offset are the ids of a
> pair of parent and child qgroups, respectively. The larger one is
> parent and the smaller
1 - 100 of 149 matches
Mail list logo