while I try to write a 10MB file:
09-04-2011 16:30:57.861 INFO - (KfsWrite.cc:928) sync status: -22
offset = 0 numBytes = 1048576
09-04-2011 16:30:57.861 INFO - (KfsWrite.cc:928) sync status: -22
offset = 1048576 numBytes = 1048576
09-04-2011 16:30:57.876 INFO - (KfsWrite.cc:928) sync status: -22
offset = 2097152 numBytes = 1048576
09-04-2011 16:30:57.876 INFO - (KfsWrite.cc:800) Write failed...chunk
= 5, version = 1, offset = 0, error = -22
09-04-2011 16:30:57.876 INFO - (KfsWrite.cc:628) Daisy-chain:
192.168.0.112 30000 192.168.0.111 30000 Will retry allocation/write on
chunk 5 due to error code: -22
09-04-2011 16:31:02.890 INFO - (KfsWrite.cc:705) Forced allocation:
chunk=5, version=2
09-04-2011 16:31:03.196 INFO - (KfsWrite.cc:928) sync status: -22
offset = 0 numBytes = 1048576
09-04-2011 16:31:03.196 INFO - (KfsWrite.cc:928) sync status: -1001
offset = 1048576 numBytes = 1048576
09-04-2011 16:31:03.207 INFO - (KfsWrite.cc:928) sync status: -22
offset = 2097152 numBytes = 1048576
09-04-2011 16:31:03.207 INFO - (KfsWrite.cc:800) Write failed...chunk
= 5, version = 2, offset = 0, error = -22
09-04-2011 16:31:03.207 INFO - (KfsWrite.cc:628) Daisy-chain:
192.168.0.112 30000 192.168.0.111 30000 Will retry allocation/write on
chunk 5 due to error code: -22
09-04-2011 16:31:08.213 INFO - (KfsWrite.cc:705) Forced allocation:
chunk=5, version=3
09-04-2011 16:31:08.533 INFO - (KfsWrite.cc:928) sync status: -22
offset = 0 numBytes = 1048576
09-04-2011 16:31:08.533 INFO - (KfsWrite.cc:928) sync status: -1001
offset = 1048576 numBytes = 1048576
09-04-2011 16:31:08.544 INFO - (KfsWrite.cc:928) sync status: -22
offset = 2097152 numBytes = 1048576
09-04-2011 16:31:08.544 INFO - (KfsWrite.cc:800) Write failed...chunk
= 5, version = 3, offset = 0, error = -22
09-04-2011 16:31:08.544 INFO - (KfsWrite.cc:628) Daisy-chain:
192.168.0.112 30000 192.168.0.111 30000 Will retry allocation/write on
chunk 5 due to error code: -22
09-04-2011 16:31:13.553 INFO - (KfsWrite.cc:705) Forced allocation:
chunk=5, version=4
09-04-2011 16:31:13.874 INFO - (KfsWrite.cc:928) sync status: -22
offset = 0 numBytes = 1048576
09-04-2011 16:31:13.874 INFO - (KfsWrite.cc:928) sync status: -1001
offset = 1048576 numBytes = 1048576
09-04-2011 16:31:13.884 INFO - (KfsWrite.cc:928) sync status: -22
offset = 2097152 numBytes = 1048576
09-04-2011 16:31:13.884 INFO - (KfsWrite.cc:800) Write failed...chunk
= 5, version = 4, offset = 0, error = -22
09-04-2011 16:31:13.884 INFO - (KfsWrite.cc:628) Daisy-chain:
192.168.0.112 30000 192.168.0.111 30000 Will retry allocation/write on
chunk 5 due to error code: -22
09-04-2011 16:31:18.893 INFO - (KfsWrite.cc:705) Forced allocation:
chunk=5, version=5
09-04-2011 16:31:19.212 INFO - (KfsWrite.cc:928) sync status: -22
offset = 0 numBytes = 1048576
09-04-2011 16:31:19.212 INFO - (KfsWrite.cc:928) sync status: -1001
offset = 1048576 numBytes = 1048576
09-04-2011 16:31:19.224 INFO - (KfsWrite.cc:928) sync status: -22
offset = 2097152 numBytes = 1048576
09-04-2011 16:31:19.224 INFO - (KfsWrite.cc:800) Write failed...chunk
= 5, version = 5, offset = 0, error = -22
09-04-2011 16:31:19.224 INFO - (KfsWrite.cc:628) Daisy-chain:
192.168.0.112 30000 192.168.0.111 30000 Will retry allocation/write on
chunk 5 due to error code: -22
09-04-2011 16:31:24.232 INFO - (KfsWrite.cc:705) Forced allocation:
chunk=5, version=6
Was able to write only: -22 instead of 10485760
Totally, -22 bytes have been written!
Write file finished!
09-04-2011 16:31:24.556 INFO - (KfsWrite.cc:928) sync status: -22
offset = 0 numBytes = 1048576
09-04-2011 16:31:24.556 INFO - (KfsWrite.cc:928) sync status: -1001
offset = 1048576 numBytes = 1048576
09-04-2011 16:31:24.563 INFO - (KfsWrite.cc:928) sync status: -22
offset = 2097152 numBytes = 1048576
09-04-2011 16:31:24.563 INFO - (KfsWrite.cc:800) Write failed...chunk
= 5, version = 6, offset = 0, error = -22
09-04-2011 16:31:24.563 INFO - (KfsWrite.cc:628) Daisy-chain:
192.168.0.112 30000 192.168.0.111 30000 Will retry allocation/write on
chunk 5 due to error code: -22
09-04-2011 16:31:24.564 INFO - (KfsWrite.cc:652) Retries failed: Write
on chunk 5 failed because of error: (code = -22 ) Invalid argument
09-04-2011 16:31:24.564 INFO - (KfsWrite.cc:359) Write failed lxh/foo.
2 @offset: 0: asked: 10485760, did: 0, errorcode = -22