From mboxrd@z Thu Jan 1 00:00:00 1970 From: "girish" Subject: Re: triggering do_writepages Date: Tue, 19 Nov 2002 16:41:26 +0530 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <006901c28fbc$678331b0$9e744c0f@nt16158> References: <200211190659.BAA00740@www23.ureach.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Return-path: To: List-Id: linux-fsdevel.vger.kernel.org Hi, writepage is used when ever there is pressure for memory from VM system and for mmaped files. I guess writepage need not be triggered explictly. If you want to add a functionaly for a writepage you can stack it at writepage, which will be called implicitly ----- Original Message ----- From: "Kapish K" To: Sent: Tuesday, November 19, 2002 12:29 PM Subject: triggering do_writepages > > Hello, > I have a ( possibly simple ) question on > how to trigger a do-writepages to get > called, for a particular filesystem, on > which I am issuing write calls. Any code > that I put into the generic_file_write code > ( around prepare_write or commit_write ) > gets triggered when a write is issues, but I > don't seem to be getting do_writepages > invoked for that filesystem ( when I check > the sb pointer for my particular filesystem ). > Am I missing something basic in here? > Any pointers will be most helpful > Thanks in advance > > ________________________________________________ > Get your own "800" number > Voicemail, fax, email, and a lot more > http://www.ureach.com/reg/tag > - > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >