Displaying 2 results from an estimated 2 matches for "send_writ".
Did you mean:
send_wait
2013 Oct 25
1
[PATCH] Btrfs: stop using vfs_read in send
...age);
+ unlock_page(page);
+ page_cache_release(page);
+ index++;
+ pg_offset = 0;
+ len -= cur_len;
+ ret += cur_len;
+ }
+out:
+ iput(inode);
+ return ret;
+}
+
/*
* Read some bytes from the current inode/file and send a write command to
* user space.
@@ -3638,35 +3632,20 @@ static int send_write(struct send_ctx *sctx, u64 offset, u32 len)
{
int ret = 0;
struct fs_path *p;
- loff_t pos = offset;
- int num_read = 0;
- mm_segment_t old_fs;
+ ssize_t num_read = 0;
p = fs_path_alloc();
if (!p)
return -ENOMEM;
- /*
- * vfs normally only accepts user space buffers for security r...
2013 Apr 07
2
"btrfs send" fails with having too many open fd's
Hi there,
i''m trying to send/receive a snapshot of my home dir for some time now,
but in the end it always fails because the maximum number of open fd''s
is exceeded.
Kern log says:
"6,7226,15012711248,-;VFS: file-max limit 799969 reached"
My setup is as follows:
Kernel: 3.9-rc5
btrfs-progs: compiled from git commit: commit