xfs
[Top] [All Lists]

TAKE - fix 2.4 write/enospc deadlock

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - fix 2.4 write/enospc deadlock
From: Nathan Scott <nathans@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Nov 2003 10:43:41 +1100 (EST)
Sender: linux-xfs-bounce@xxxxxxxxxxx
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.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - fix 2.4 write/enospc deadlock, Nathan Scott <=