Re: Query about DIO/AIO WRITE throttling and ext4 serialization

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

 



On Thu, Jun 02, 2011 at 08:27:14PM -0400, Vivek Goyal wrote:
> 
> In this case only a single thread is doing IO continuously. I am assuming
> if there is a database using XFS, it is not unreasonable to have prolonged
> periods of continuous IO activity. In that case I think by above design
> sync will not finish until and unless there is a momentary pause in IO. This
> does not sound like the best design choice.

Sure, but under what circumstances would a database be blasting data
using AIO/DIO in one thread, and calling fsync() in another thread?
In practice I don't think this situation should ever arise.  If it
did, the question of which writes could be considered safely on stable
store and which would not would be undefined.  In fact, for most
enterpise databases, they are using preallocated files, so there's no
need at all to use fsync() and AIO/DIO at the same time.

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


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux