Working with direct io buffer