This removes the need for the partial page bitmap we added to the page
structure. By always fully populating the page on the initial read we
no longer have to deal with this. This simplifies some logic in pagebuf,
makes it cleaner and removes a fairly major intrusion into the main
kernel data structures.
I have done fairly extensive testing on this (rpm builds of big things
are a good test of this stuff) however, there is always a chance that
I missed something. So if something bizzare happens after you are
running this code please let me know.
Steve
Date: Wed Feb 14 15:54:41 PST 2001
Workarea: 128.162.184.86:/src/lord/xfs-linux.2.4
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:87627a
linux/mm/filemap.c - 1.67
- remove initialization of partial page bitmap
linux/include/linux/mm.h - 1.48
- remove partial page bitmap and associated macros for manipulating it.
linux/kdb/modules/kdbm_pg.c - 1.27
- remove partial page info from dump of page structure.
linux/fs/pagebuf/page_buf.c - 1.54
- Remove partial page logic, it is now dealt with by reading in the
whole
page initially.
linux/fs/pagebuf/page_buf_io.c - 1.52
- Remove partial page logic
|