Intermittent zeroed pages with AIO+DIO+XFS

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

 



Hello,


I have an application that uses AIO+DIO to write data to a file on XFS. The writes use 128k buffers. Very rarely, I see aligned 4k blocks within the file that are zeroed. The blocks are not aligned to 128k boundary, just 4k. The buffers are allocated in anonymous memory, which is usually using transparent hugepages. The files are fully allocated, not sparse (checked post-mortem).


The writes are concurrent and adjacent. To avoid serialization, we ftruncate() the file to a larger size, then ftruncate() it back when we know its final size.


Does this trigger anything in anyone's mind?



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



[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