xfs
[Top] [All Lists]

PARTIAL TAKE 940392 - unwritten extents aren't converted when modified t

To: sgi.bugs.xfs@xxxxxxxxxxxx
Subject: PARTIAL TAKE 940392 - unwritten extents aren't converted when modified through mmap
From: dgc@xxxxxxx (David Chinner)
Date: Mon, 16 Jul 2007 17:32:28 +1000 (EST)
Cc: xfs@xxxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
Date:  Mon Jul 16 17:28:48 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:  2.6.x-xfs-melb:linux:29146a
fs/buffer.c - 1.30 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.6-xfs/fs/buffer.c.diff?r1=text&tr1=1.30&r2=text&tr2=1.29&f=h
        - Implement block_page_mkwrite.
          Many filesystems need a ->page-mkwrite callout to correctly
          set up pages that have been written to by mmap. This is especially
          important when mmap is writing into holes as it allows filesystems
          to correctly account for and allocate space before the mmap
          write is allowed to proceed.
          Protection against truncate races is provided by locking the page
          and checking to see whether the page mapping is correct and whether
          it is beyond EOF so we don't end up allowing allocations beyond
          the current EOF or changing EOF as a result of a mmap write.

include/linux/buffer_head.h - 1.18 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.6-xfs/include/linux/buffer_head.h.diff?r1=text&tr1=1.18&r2=text&tr2=1.17&f=h
        - Implement block_page_mkwrite.



<Prev in Thread] Current Thread [Next in Thread>
  • PARTIAL TAKE 940392 - unwritten extents aren't converted when modified through mmap, David Chinner <=