From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin Jambor" Subject: Re: File System Address Space Operations Date: Tue, 1 Aug 2006 18:58:46 +0200 Message-ID: <9615ac9b0608010958u5d25bb47obcfe8f46301c8acc@mail.gmail.com> References: <9615ac9b0607290930i1aa35776nfbe773c4d8e93b5c@mail.gmail.com> <20060801054625.1592.qmail@web37502.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from wr-out-0506.google.com ([64.233.184.238]:38826 "EHLO wr-out-0506.google.com") by vger.kernel.org with ESMTP id S1750826AbWHAQ6r (ORCPT ); Tue, 1 Aug 2006 12:58:47 -0400 Received: by wr-out-0506.google.com with SMTP id i21so504334wra for ; Tue, 01 Aug 2006 09:58:47 -0700 (PDT) To: "UZAIR LAKHANI" In-Reply-To: <20060801054625.1592.qmail@web37502.mail.mud.yahoo.com> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 8/1/06, UZAIR LAKHANI wrote: > Martin Jambor wrote: > > On 7/29/06, UZAIR LAKHANI > > wrote: > > > Hello All, > > > > > > I want to find out the details of the address > > space > > > operations. Where can I get the detailed > > information > > > about the address space operations. > > > > Have a look at > > > > a) Documentation/filesystems/vfs.txt > > b) Documentation/filesystems/Locking and > > c) some simple fs that uses it (minix?) > > Hello All, > > Thanks for your reply and help. But the (a) and (b) > above don't give me enough details about the > theoretical aspects of address space operations. For > example why these operations are needed. What is their > flow etc. If you please give some more links that help > me understanding address space operations and buffer > cache issues clearly, then I will be thankful to you. I think both (a) and (b) are rather good. More stuff I can think about would include: * Robert Love: Linux Kernel Development, Chapter 15 (page 269) * Mel Gorman: Understanding the Linux Virtual Memory Manager, section 4.4 (available online) * I guess "Understanding the Linux Kernel" would cover it as well but I have not had a look at it yet. * Search Google for "Linux Page Cache." (I, for example, within a few seconds came across http://www.faqs.org/docs/kernel_2_4/lki-4.html which does not seem very outdated (at a glance). I personally learnt about the page cacher by reading the source code of ramfs and minix, especially the generic kernel handlers of file_operations and address_space_operations. If you want to really understand the stuff, you simply have to do it. If you have problems understanding the code, people at #kernelnewbies (www.kernelnewbies.org) can and often do help. HTH Martin