Fix a deadlock while writing when low on free space.
Date: Mon Nov 10 15:24:46 PST 2003
Workarea: snort.melbourne.sgi.com:/home/nathans/clean-2.4.x-xfs
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: xfs-linux:slinx:161506a
linux/fs/xfs/linux/xfs_iomap.c - 1.17
- Use the filemap_fdatawrite interface for flushing delayed allocate
space so that we do not deadlock on pages locked by the generic
write code.
Modid: 2.4.x-xfs:slinx:161506b
linux/mm/filemap.c - 1.121
linux/kernel/ksyms.c - 1.148
linux/include/linux/fs.h - 1.167
- Provide a flush mechanism which is suitable for calling when
flushing delayed allocate space while some pages are locked for
writing already.
|