lkml.org 
[lkml]   [1999]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Summary] Re: [Call For Wartectomy] CRLF conversion out of kernel


On Wed, 14 Jul 1999, Steve Dodd wrote:

> Did you give any thought to my NTFS problem (did I even tell you about it)?
> The problem is the FILE records can span multiple blocks and I want to avoid
> the kmalloc, memcpy stuff that the driver currently does. The buffer cache
> doesn't (AFAICS) cope with reading chunks that are multiples of the block
> size ATM, 'cos it ain't needed for normal filesystems.

Look at the block_read_full_page() in 2.3.x - it takes a page, creates a
bunch of buffer_heads and binds them to parts of page. Then it initiates
the read requests on them. No extra copying. Almost the same works for
writing.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.063 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site