Before continuing write requests, we need to check the procedure size grow was
successful. If the size attribute of a file failed to increase, it makes no
sense to continue to push write requests because they will not be able to
succeed until the file size will match.
Signed-off-by: Pavel
#VSTOR-10635
Pavel Butsykin (2):
fs/fuse kio_pcs: handle error of submit_size_grow()
fs/fuse kio_pcs: pass the file handle for FUSE_SETATTR request
fs/fuse/file.c | 5 +++--
fs/fuse/fuse_i.h | 4
fs/fuse/kio/pcs/pcs_fuse_kdirect.c | 22
Add to pass the file handle (if it is) for FUSE_SETATTR request inside
submit_size_grow().
Signed-off-by: Pavel Butsykin
---
fs/fuse/file.c | 5 +++--
fs/fuse/fuse_i.h | 4
fs/fuse/kio/pcs/pcs_fuse_kdirect.c | 8
3 files changed, 15
On 07.06.2018 17:40, Pavel Butsykin wrote:
Before continuing write requests, we need to check the procedure size grow was
successful. If the size attribute of a file failed to increase, it makes no
sense to continue to push write requests because they will not be able to
succeed until the file
On 06.06.2018 20:22, Pavel Butsykin wrote:
> Signed-off-by: Pavel Butsykin
Reviewed-by: Kirill Tkhai
> ---
> fs/fuse/kio/pcs/pcs_cluster.c | 10 +++---
> 1 file changed, 3 insertions(+), 7 deletions(-)
>
> diff --git a/fs/fuse/kio/pcs/pcs_cluster.c b/fs/fuse/kio/pcs/pcs_cluster.c
> index