Re: Problem reading file with O_DIRECT

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

 




yeah i am opening file with O_DIERCT and reading it in userspace.
But it is having problem when buffer where i am trying to read is a device that is mapped into the process address space.
On the other hand if i create a buffer by malloc then read function works.

-manisha


On 7/5/06, Daniel Bonekeeper <thehazard@xxxxxxxxx> wrote:
Manisha, are you working on kernel or userspace mode ?
You sounded like you're trying this in userspace, so maybe
linux-c-programming is the best place for that question.


--
What this world needs is a good five-dollar plasma weapon.


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux