Re: [PATCH 06/20] xfs: don't use REQ_PREFLUSH for split log writes

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

 



On Wed, Jun 05, 2019 at 06:51:12AM -0400, Brian Foster wrote:
> Yep. Another thing that briefly crossed my mind is whether we could in
> theory optimize flushes out if the tail hasn't moved since the last
> flush. We'd still have to FUA the log records, but we haven't introduced
> any such integrity/ordering requirements if the tail hasn't changed,
> right?
> 
> It's debatable whether that would provide any value, but it might at
> least apply to certain scenarios like if the tail happens to be pinned
> by a single object across several iclog writes, or if fsyncs or some
> other pattern result in smaller/frequent checkpoints relative to
> metadata writeback, etc.

Well, for the fsync we require the data device to be flushed for
the fsync semantics anyway.  So we'd now need to treat that special,
simiar to that old log_flushed return parameter hack.



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux