syncToRemote syncs dirty pages to the remote replica. This function acquires f.mu internally.
()
| 1890 | // syncToRemote syncs dirty pages to the remote replica. |
| 1891 | // This function acquires f.mu internally. |
| 1892 | func (f *VFSFile) syncToRemote() error { |
| 1893 | f.mu.Lock() |
| 1894 | defer f.mu.Unlock() |
| 1895 | return f.syncToRemoteWithLock() |
| 1896 | } |
| 1897 | |
| 1898 | // syncToRemoteWithLock syncs dirty pages to the remote replica. |
| 1899 | // Caller must hold f.mu. |
nothing calls this directly
no test coverage detected