| To: | Dave Chinner <david@xxxxxxxxxxxxx>, Dan Williams <dan.j.williams@xxxxxxxxx> |
|---|---|
| Subject: | Re: Subtle races between DAX mmap fault and write path |
| From: | Keith Packard <keithp@xxxxxxxxxx> |
| Date: | Sun, 31 Jul 2016 20:13:23 -0700 |
| Cc: | Jan Kara <jack@xxxxxxx>, "linux-nvdimm\@lists.01.org" <linux-nvdimm@xxxxxxxxxxxx>, XFS Developers <xfs@xxxxxxxxxxx>, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>, linux-ext4 <linux-ext4@xxxxxxxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20160801014645.GI16044@dastard> |
| References: | <20160727120745.GI6860@xxxxxxxxxxxxxx> <20160727211039.GA20278@xxxxxxxxxxxxxxx> <20160727221949.GU16044@dastard> <20160728081033.GC4094@xxxxxxxxxxxxxx> <20160729022152.GZ16044@dastard> <CAPcyv4gOcDGzikJHYGxNXtYqQKkPUgkG+z4ASxogQUnp1zmD2g@xxxxxxxxxxxxxx> <20160730001249.GE16044@dastard> <CAPcyv4gLTkx4ne7pWuMSqfFpLoOBx=TowvcWXw9UGUxn=jd-Tg@xxxxxxxxxxxxxx> <20160801014645.GI16044@dastard> |
| User-agent: | Notmuch/0.22 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) |
Dave Chinner <david@xxxxxxxxxxxxx> writes: > So we'd see that from the point of view of a torn single sector > write. Ok, so we better limit DAX to CRC enabled filesystems to > ensure these sorts of events are always caught by the filesystem. Which is the same lack of guarantee that we already get on rotating media. Flash media seems to work harder to provide sector atomicity; I guess that's a feature? The alternative is to hide metadata behind a translation layer, and while that can be done for lame file systems, I'd like to see the raw hardware capabilities exposed and then make free software that constructs a reliable system on top of that. -- -keith
|
| Previous by Date: | FW: We need the new design of the bags for the Ladies, angelbervogue@xxxxxxxx |
|---|---|
| Next by Date: | Re: Subtle races between DAX mmap fault and write path, Dave Chinner |
| Previous by Thread: | Re: Subtle races between DAX mmap fault and write path, Dave Chinner |
| Next by Thread: | Re: Subtle races between DAX mmap fault and write path, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |