Re: Small O_SYNC writes are no longer NFS_DATA_SYNC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 17 Mar 2011 21:49:26 -0400 Trond Myklebust
<Trond.Myklebust@xxxxxxxxxx> wrote:

> However we could adopt the Solaris convention of always starting
> writebacks with a FILE_SYNC, and then falling back to UNSTABLE for the
> second rpc call and all subsequent calls...
> 

That approach certainly has merit.

However, as we know from the wbc info whether the write is small and sync -
which is the only case where I think a STABLE write is needed - I cannot see
why you don't want to just use that information to guide the choice of
'stable' or not ???

NeilBrown

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux