Significant part of this change is to employ standard
linux IO daemons & paths to handle delalloc pages by
attaching buffers to all pages. This also enables
handling of sync()-type operation (changes yet to come) ...
Date: Mon Feb 26 16:36:49 PST 2001
Workarea: waco.engr.sgi.com:/build1/ananth/xfs-tot
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:88427a
linux/mm/vmscan.c - 1.50
- No special cases to handle delalloc in swap or reclaim_page or
page_launder.
Only special handling is to not perform any I/O when called with
GFP_PAGE_IO.
linux/mm/page_alloc.c - 1.38
- No special checks are need to catch delalloc pages from being freed;
if page is delay it has buffers, and there is a check already for
that.
linux/kernel/ksyms.c - 1.77
- Remove symbols from linux no longer used by xfs.
linux/include/linux/mm.h - 1.50
- Remove page flag to mark delay; the associated buffer now has the
flag.
linux/include/linux/fs.h - 1.81
- Add a flag to buffers to mark it delay.
linux/fs/buffer.c - 1.57
- Use a write_buffer helper function to write out delay buffers.
linux/drivers/block/ll_rw_blk.c - 1.62
- Add a bug test so Delay buffers don't pass through.
linux/drivers/scsi/scsi_merge.c - 1.25
- Fix a bug in printing the bh-chain; this should be submitted
to the base kernel.
linux/fs/xfs/xfs_log.c - 1.228
- Add PF_MEMALLOC to log sync'ing operation. This may be removed
later if no more deadlocks are seen.
linux/fs/xfs/linux/xfs_iops.c - 1.94
- Add a writepage routine that doesn't unlock the page on return;
used by page_launder->try_to_free_buffers->write_buffer->writepage.
linux/include/linux/page_buf.h - 1.76
- Prototype for writepage that doesn't unlock page on return. Other
cleanups
to reflect removal of page_cleaner_daemon.
linux/kdb/modules/kdbm_pg.c - 1.29
- Display more fields in bh.
linux/fs/pagebuf/page_buf.c - 1.59
linux/fs/pagebuf/page_buf_io.c - 1.56
- Primary change is to attach buffers to delalloc pages. Page cleaner
deamon is no longer needed as linux IO daemons will see the buffers
and perform conversions through write_buffer() -> writepage().
Also fix a bug in writepage() of a page containing EOF. Remove code
associated with page_cleaner_daemon.
|