Quantcast

Why is fuse_operations::release getting called when the file is only copied partially?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Why is fuse_operations::release getting called when the file is only copied partially?

kingsmasher1

We are attempting to copy few files using NFS to our fuse filesystem but the file is getting copied only partially (might be due to network issues), and still the fuse_operation::release is getting invoked.

Is there a fix for this? Or at least to know before initiating the file transfer, as what is the actual file size in the source location or the initial checksum, so that if either of them does not match we can discard the file from our fuse filesystem?

Or is there any way to figure out if the release is called due to some error condition in the file-copy due to which the copy operation has halted?


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Why is fuse_operations::release getting called when the file is only copied partially?

kingsmasher1

These are some of the errors i got while transferring the files, and it got truncated:

Jun 20 11:09:22 ServerIFM33 kernel: [ 2501.169697] nfsd: SETATTR(3)  20: 81010001 00000001 00000000 00000003 00000000 00000000
Jun 20 11:09:22 ServerIFM33 kernel: [ 2501.169704] nfsd: fh_verify(20: 81010001 00000001 00000000 00000003 00000000 00000000)
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.682093] nfsd_dispatch: vers 3 proc 7
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.682105] nfsd: WRITE(3)    20: 81010001 00000001 00000000 00000003 00000000 00000000 524288 bytes at 0
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.682112] nfsd: fh_verify(20: 81010001 00000001 00000000 00000003 00000000 00000000)
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.690670] nfsd_dispatch: vers 3 proc 7
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.690684] nfsd: WRITE(3)    20: 81010001 00000001 00000000 00000003 00000000 00000000 524288 bytes at 524288
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.690693] nfsd: fh_verify(20: 81010001 00000001 00000000 00000003 00000000 00000000)
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.694520] nfsd: non-standard errno: -16
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.696118] nfsd_dispatch: vers 3 proc 7
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.696174] nfsd: WRITE(3)    20: 81010001 00000001 00000000 00000003 00000000 00000000 524288 bytes at 1048576
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.696180] nfsd: fh_verify(20: 81010001 00000001 00000000 00000003 00000000 00000000)
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.696512] nfsd: write complete host_err=524288
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.700571] nfsd: non-standard errno: -16
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.704554] nfsd_dispatch: vers 3 proc 7
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.704568] nfsd: WRITE(3)    20: 81010001 00000001 00000000 00000003 00000000 00000000 524288 bytes at 1572864
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.704576] nfsd: fh_verify(20: 81010001 00000001 00000000 00000003 00000000 00000000)
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.708904] nfsd_dispatch: vers 3 proc 7
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.708913] nfsd: WRITE(3)    20: 81010001 00000001 00000000 00000003 00000000 00000000 524288 bytes at 2097152
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.708919] nfsd: fh_verify(20: 81010001 00000001 00000000 00000003 00000000 00000000)
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.712200] nfsd_dispatch: vers 3 proc 7
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.712209] nfsd: WRITE(3)    20: 81010001 00000001 00000000 00000003 00000000 00000000 524288 bytes at 2621440
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.712215] nfsd: fh_verify(20: 81010001 00000001 00000000 00000003 00000000 00000000)
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.715398] nfsd_dispatch: vers 3 proc 7
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.715408] nfsd: WRITE(3)    20: 81010001 00000001 00000000 00000003 00000000 00000000 524288 bytes at 3145728
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.715415] nfsd: fh_verify(20: 81010001 00000001 00000000 00000003 00000000 00000000)
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.715533] nfsd: non-standard errno: -16
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.719462] nfsd: non-standard errno: -16
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.720902] nfsd_dispatch: vers 3 proc 7
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.720913] nfsd: WRITE(3)    20: 81010001 00000001 00000000 00000003 00000000 00000000 524288 bytes at 3670016
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.720920] nfsd: fh_verify(20: 81010001 00000001 00000000 00000003 00000000 00000000)
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.724749] nfsd_dispatch: vers 3 proc 7
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.724760] nfsd: WRITE(3)    20: 81010001 00000001 00000000 00000003 00000000 00000000 524288 bytes at 4194304
Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.724766] nfsd: fh_verify(20: 81010001 00000001 00000000 00000003 00000000 00000000)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Why is fuse_operations::release getting called when the file is only copied partially?

Goswin von Brederlow-2
On Fri, Jun 20, 2014 at 03:07:13AM -0700, kingsmasher1 wrote:
> Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.690684] nfsd: WRITE(3)    20:
> 81010001 00000001 00000000 00000003 00000000 00000000 524288 bytes at 524288
> Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.690693] nfsd: fh_verify(20:
> 81010001 00000001 00000000 00000003 00000000 00000000)
> Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.694520] nfsd: non-standard errno:
> -16
> Jun 20 11:09:26 ServerIFM33 kernel: [ 2504.696118] nfsd_dispatch: vers 3
> proc 7

Looks like your write failed. What does the fuse filesystem say?

MfG
        Goswin

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
fuse-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/fuse-devel
Loading...