With this patch, it seems to work fine. Without, it hangs on write.