]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: stop using vfs_read in send
authorJosef Bacik <jbacik@fusionio.com>
Fri, 25 Oct 2013 15:36:01 +0000 (11:36 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:07:11 +0000 (22:07 -0500)
commitfffa588b148a93cb7936357995e1c071df880d98
tree8569c16f58a2780b5780bf1e50a788d29625670b
parent421cf629e428ac276bc884bd9f5416f3fe43f76f
Btrfs: stop using vfs_read in send

Apparently we don't actually close the files until we return to userspace, so
stop using vfs_read in send.  This is actually better for us since we can avoid
all the extra logic of holding the file we're sending open and making sure to
clean it up.  This will fix people who have been hitting too many files open
errors when trying to send.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/send.c