Hi Greg,
> Then if userspace opens a file with O_DIRECT but the file is on a
> filesytem that can't support full O_DIRECT functionality for the
> reasons you give, the kernel could automatically fall back to
> O_DIRECT_NO_CACHE.
The solution you are proposing is definitely a good idea, but its no
Hi Mandeep,
Thank you for sharing your points and links. Appreciated your help.
On Mon, Oct 18, 2010 at 10:27 PM, Mandeep Sandhu <
mandeepsandhu@gmail.com> wrote:
> > I have very little knowledge on how to create ramdisk. I don;t know much
> > about rootdisk mean. Also, which one of these
> I have very little knowledge on how to create ramdisk. I don;t know much
> about rootdisk mean. Also, which one of these two is loaded first, when
> booting up a network system/device etc.
I'm not sure what rootdisk means, but i guess it's the disk
(hard-disk/flash etc) where your root directory
Exactly this and few more for all the devices. This shows for the clock.
Thanks,
Prabhu
On Mon, Oct 18, 2010 at 10:54 AM, Mulyadi Santosa wrote:
> On Sun, Oct 17, 2010 at 20:15, Prabhu nath wrote:
> >
> > Dear All,
> >
> >lshw is the utilitiy to get the device details in the PC. B
Remember to bottom post on lkml lists.
see below
On Mon, Oct 18, 2010 at 4:14 PM, Rajat Sharma wrote:
> Greg,
>
> okay I give you an example, currently ecryptfs does not support DIRECT IO
> operation, if it wants to encrypt data in kernel buffers and since file was
> opened in DIRECT IO mode, th
Hi Dave,
> explains how you can do I/O from within kernel space.
At a glance I looked specifically for DIRECT IO in the article, I think it
just explains cached IO from kernel buffer, which is very trivial and easy
to do. Also I am reiterating here again, I have implemented one solution
using do_
Hi Rajat,
On Mon, Oct 18, 2010 at 1:14 PM, Rajat Sharma wrote:
> Greg,
>
> okay I give you an example, currently ecryptfs does not support DIRECT IO
> operation, if it wants to encrypt data in kernel buffers and since file was
> opened in DIRECT IO mode, the lower filesystem should not complain a
Greg,
okay I give you an example, currently ecryptfs does not support DIRECT IO
operation, if it wants to encrypt data in kernel buffers and since file was
opened in DIRECT IO mode, the lower filesystem should not complain about
kernel buffers
Thanks,
Rajat
On Tue, Oct 19, 2010 at 12:56 AM, Greg
On Mon, Oct 18, 2010 at 3:19 AM, Rajat Sharma wrote:
>
>> Doesn't that mean user space right to block device? Simply based on
>> that, I can see you fail all these times... because you do it from
>> kernel space..and that's against the very basic meaning of direct I/O
>
> You can visualize direc
On Mon, Oct 18, 2010 at 1:02 PM, Sengottuvelan S
wrote:
> Hi,
>
> I have very little knowledge on how to create ramdisk. I don;t know much
> about rootdisk mean. Also, which one of these two is loaded first, when
> booting up a network system/device etc.
>
> what are the contents goes to ramdisk &
Hi,
I have very little knowledge on how to create ramdisk. I don;t know much
about rootdisk mean. Also, which one of these two is loaded first, when
booting up a network system/device etc.
what are the contents goes to ramdisk & rootdisk?. Basically. I am looking
for more information how to star
On Mon, Oct 18, 2010 at 00:22, Rajat Sharma wrote:
> My guess is get_user_pages called to pin pages in memory is not happy with
> kernel pages and it is returning -EFAULT.
I second that if not, the function name wouldn't be labeled "user"...
--
regards,
Mulyadi Santosa
Freelance Linux tra
> Doesn't that mean user space right to block device? Simply based on
> that, I can see you fail all these times... because you do it from
> kernel space..and that's against the very basic meaning of direct I/O
You can visualize direct I/O for two purpose:
1. Zero copy directly from user buffer
CMIIW here...
On Mon, Oct 18, 2010 at 13:31, Rajat Sharma wrote:
> Mulyadi,
>
> Thanks for the reply.
>
>> I second that if not, the function name wouldn't be labeled "user"...
>
> I agree its perfect to have API name reflect what it is doing, but is there
> any work around deal with this fun
On 10/16/2010 06:01 PM, Abu Rasheda wrote:
> Trying once more. It did not show up in my mail box. Any suggestions ?
>
> Kernel newbies list has seen hardware related questions and good explanation
> by Dave, Stephan & Greg.
>
> What I want is some directions. I know C well and have done kernel
15 matches
Mail list logo