Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Write a file to a disk with O_DIRECT flag

$
0
0

Hi,

I'm using O_DIRECT for write to SSD. It is working properly when the array is allocated in user space via malloc(). But when I try to use an array which allocated via Vsys_allocBuf() the write() return -1.  Any suggestion?  Or may be there is a way to organize DMA from a buffer a bufList of type VIDEO_FRAMEBUF_LIST_S  to a buffer located in user space? 
I'm using DM8148 and ipnc_psp_04_04_00_01.
Thanks,
Constantin

Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>