# Re: \[PATCH v3\] introduce sys\_syncfs to sync a single file system

- From: Theodore Tso \<tytso@MIT.EDU\>
- Date: 2011-03-14 01:37:44 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2011/03/51642
- Thread: https://ratatoskr.run/linux-fsdevel/2011/03/51636/t.md

```text

On Mar 13, 2011, at 9:31 PM, Indan Zupancic wrote:

> The new syscall works on only one fd too. The behaviour of the proposed
> syncfs and an extended sync_file_range is exactly the same.

No, it's quite different.   One syncs the entire file system; sync_file_range
requests that the pages associated with a file be pushed to disk --- it says
nothing about the metadata associated with the file.

I'm in favor of the new sys_syncfs system call.

-- Ted
```
