Re: [RFC] Optimization for use-once pages

From: Anton Altaparmakov (aia21@cam.ac.uk)
Date: Tue Jul 24 2001 - 19:43:03 EST


At 01:04 25/07/2001, Daniel Phillips wrote:
>At that size you'd run a real risk of missing the tell-tale multiple
>references that mark a page as frequently used. Think about metadata
>here (right now, that usually just means directory pages, but later...
>who knows).

This is not actually implemented yet, but NTFS TNG will use the page cache
to hold both the LCN (physical clusters) and MFT (on disk inodes)
allocation bitmaps in addition to file and directory pages. (Admittedly the
LCN case folds into the file pages in page cache one as the LCN bitmap is
just stored inside the usual data of a file called $Bitmap, but the MFT
case is more complex as it is in an additional attribute inside the file
$MFT so the normal file read/write functions definitely cannot be used. The
usual data here is the actual on disk inodes...)

Just FYI.

Anton

-- 
   "Nothing succeeds like success." - Alexandre Dumas
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

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



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:20 EST