rgw: librgw write wrongly closed in NFS3
We mount nfs via librgw, then dd test on export directory.
[root@dev]# mount -t nfs -o noauto,noacl,soft,nfsvers=3,proto=tcp,nolock,sync xxx:/ /mnt
But dd has a write error：
You can see that the offset is not ordered：
Both the dd sequential write and the FIO sequential write can reproduce the nfs3_write problem.
When bs is no more than 1MB, dd and FIO have no recurring problems after multiple tests, and bs>=2MB will reproduce the problem.