| To: | David Chinner <dgc@xxxxxxx> |
|---|---|
| Subject: | Re: review: make xfs_dm_punch_hole() atomic when punching EOF |
| From: | Vlad Apostolov <vapo@xxxxxxx> |
| Date: | Mon, 21 May 2007 12:00:24 +1000 |
| Cc: | xfs-dev <xfs-dev@xxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx> |
| In-reply-to: | <20070419071856.GR48531920@melbourne.sgi.com> |
| References: | <20070419071856.GR48531920@melbourne.sgi.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 1.5.0.10 (X11/20070221) |
It is looking good Dave. Regards, Vlad David Chinner wrote: Currently punching a hole to EOF via xfs_dm_punch_hole() truncates the file and then extends it. This leaves a small window where applications can see an incorrect file size while the punch is in progress. This can cause problems with DMF leading to premature completion of recalls and hence data corruption. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Review: ensure EOF writes into existing extents update filesize, David Chinner |
|---|---|
| Next by Date: | Re: [xfs-masters] 2.6.22-rc2 built on ppc, Timothy Shimmin |
| Previous by Thread: | Review: ensure EOF writes into existing extents update filesize, David Chinner |
| Next by Thread: | Re: [xfs-masters] 2.6.22-rc2 built on ppc, Timothy Shimmin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |