Implement ->page_mkwrite in XFS.
Hook XFS up to ->page_mkwrite to ensure that we know about
mmap pages being written to. This allows use to do correct
delayed allocation and ENOSPC checking as well as remap unwritten
extents so that they get converted correctly during writeback.
This is done via the generic block_page_mkwrite code.
Date: Mon Jul 16 17:38:51 AEST 2007
Workarea: chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by: hch@xxxxxx
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:29149a
fs/xfs/linux-2.6/xfs_file.c - 1.150 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_file.c.diff?r1=text&tr1=1.150&r2=text&tr2=1.149&f=h
- Connect ->page_mkwrite to the generic block_page_mkwrite
implementation.
|