Re: How to increase IO size of buffer cache

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

 



On Apr 4, 2005 6:15 PM, Sandeep Tyagi <sandeepktyagi@xxxxxxxxx> wrote:
> Let me reframe my query.
> 
> Is it possible to have a buffer of size greater than a page size in
> linux 2.6 kernel ?

No, not if you mean memory referred to by a buffer_head structure.

However, using the struct bio structure you can issue i/o requests
spanning several pages. Have a look at mpage.c for inspiration.

I may be involved in a similar work that you do, please let me know
what you find out.

HTH

Martin Jambor

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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