[PATCH] xfs_io: add sync and syncfs commands

Eric Sandeen sandeen at redhat.com
Mon Oct 27 10:56:41 CDT 2014


On 10/27/14 6:43 AM, Brian Foster wrote:
> On Fri, Oct 24, 2014 at 01:06:09PM -0500, Eric Sandeen wrote:

...

>> +void
>> +sync_init(void)
>> +{
>> +	sync_cmd.name = "sync";
>> +	sync_cmd.cfunc = sync_f;
>> +	sync_cmd.flags = CMD_NOMAP_OK | CMD_FOREIGN_OK;
> 
> Not a big deal given that we have sync(1), but CMD_NOFILE_OK..?
> 
> The rest looks good to me.
> 
> Brian

Ah, good eye, thanks.  Will send V2.

-Eric



More information about the xfs mailing list