Re: [PATCH v6 00/22] Support ext4 on NV-DIMMs

2014-03-02 Thread Pavel Machek
On Tue 2014-02-25 09:18:16, Matthew Wilcox wrote: > One of the primary uses for NV-DIMMs is to expose them as a block device > and use a filesystem to store files on the NV-DIMM. While that works, > it currently wastes memory and CPU time buffering the files in the page > cache. We have support

Re: [PATCH v6 00/22] Support ext4 on NV-DIMMs

2014-03-02 Thread Pavel Machek
On Tue 2014-02-25 09:18:16, Matthew Wilcox wrote: One of the primary uses for NV-DIMMs is to expose them as a block device and use a filesystem to store files on the NV-DIMM. While that works, it currently wastes memory and CPU time buffering the files in the page cache. We have support in

Re: [PATCH v6 00/22] Support ext4 on NV-DIMMs

2014-02-27 Thread Florian Weimer
On 02/27/2014 05:29 PM, Matthew Wilcox wrote: Some distributions use udisks2 to grant permission to local console users to create new loop devices from files. File systems on these block devices are then mounted. This is a replacement for several file systems implemented in user space, and

Re: [PATCH v6 00/22] Support ext4 on NV-DIMMs

2014-02-27 Thread Matthew Wilcox
On Thu, Feb 27, 2014 at 03:01:03PM +0100, Florian Weimer wrote: > On 02/25/2014 03:18 PM, Matthew Wilcox wrote: > >One of the primary uses for NV-DIMMs is to expose them as a block device > >and use a filesystem to store files on the NV-DIMM. While that works, > >it currently wastes memory and

Re: [PATCH v6 00/22] Support ext4 on NV-DIMMs

2014-02-27 Thread Florian Weimer
On 02/25/2014 03:18 PM, Matthew Wilcox wrote: One of the primary uses for NV-DIMMs is to expose them as a block device and use a filesystem to store files on the NV-DIMM. While that works, it currently wastes memory and CPU time buffering the files in the page cache. We have support in ext2

Re: [PATCH v6 00/22] Support ext4 on NV-DIMMs

2014-02-27 Thread Florian Weimer
On 02/25/2014 03:18 PM, Matthew Wilcox wrote: One of the primary uses for NV-DIMMs is to expose them as a block device and use a filesystem to store files on the NV-DIMM. While that works, it currently wastes memory and CPU time buffering the files in the page cache. We have support in ext2

Re: [PATCH v6 00/22] Support ext4 on NV-DIMMs

2014-02-27 Thread Matthew Wilcox
On Thu, Feb 27, 2014 at 03:01:03PM +0100, Florian Weimer wrote: On 02/25/2014 03:18 PM, Matthew Wilcox wrote: One of the primary uses for NV-DIMMs is to expose them as a block device and use a filesystem to store files on the NV-DIMM. While that works, it currently wastes memory and CPU time

Re: [PATCH v6 00/22] Support ext4 on NV-DIMMs

2014-02-27 Thread Florian Weimer
On 02/27/2014 05:29 PM, Matthew Wilcox wrote: Some distributions use udisks2 to grant permission to local console users to create new loop devices from files. File systems on these block devices are then mounted. This is a replacement for several file systems implemented in user space, and

[PATCH v6 00/22] Support ext4 on NV-DIMMs

2014-02-25 Thread Matthew Wilcox
One of the primary uses for NV-DIMMs is to expose them as a block device and use a filesystem to store files on the NV-DIMM. While that works, it currently wastes memory and CPU time buffering the files in the page cache. We have support in ext2 for bypassing the page cache, but it has some

[PATCH v6 00/22] Support ext4 on NV-DIMMs

2014-02-25 Thread Matthew Wilcox
One of the primary uses for NV-DIMMs is to expose them as a block device and use a filesystem to store files on the NV-DIMM. While that works, it currently wastes memory and CPU time buffering the files in the page cache. We have support in ext2 for bypassing the page cache, but it has some