Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-24 Thread Rik van Riel
On 03/24/2015 05:41 AM, Boaz Harrosh wrote: > On 03/23/2015 05:19 PM, Rik van Riel wrote: >> There are two things going on here: >> >> 1) You want to keep using struct page for now, while there are >>subsystems that require it. This is perfectly legitimate. >> >> 2) Matthew and Dan are

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-24 Thread Boaz Harrosh
On 03/23/2015 05:19 PM, Rik van Riel wrote: >>> Michael Tsirkin and I have been doing some thinking about what >>> it would take to allocate struct pages per 2MB area permanently, >>> and allocate additional struct pages for 4kB pages on demand, >>> when a 2MB area is broken up into 4kB pages. >>

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-24 Thread Boaz Harrosh
On 03/23/2015 05:19 PM, Rik van Riel wrote: Michael Tsirkin and I have been doing some thinking about what it would take to allocate struct pages per 2MB area permanently, and allocate additional struct pages for 4kB pages on demand, when a 2MB area is broken up into 4kB pages. My thoughts

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-24 Thread Rik van Riel
On 03/24/2015 05:41 AM, Boaz Harrosh wrote: On 03/23/2015 05:19 PM, Rik van Riel wrote: There are two things going on here: 1) You want to keep using struct page for now, while there are subsystems that require it. This is perfectly legitimate. 2) Matthew and Dan are changing over some

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-23 Thread Christoph Hellwig
On Mon, Mar 23, 2015 at 11:19:07AM -0400, Rik van Riel wrote: > There are two things going on here: > > 1) You want to keep using struct page for now, while there are >subsystems that require it. This is perfectly legitimate. > > 2) Matthew and Dan are changing over some subsystems to no

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-23 Thread Rik van Riel
On 03/22/2015 11:51 AM, Boaz Harrosh wrote: > On 03/20/2015 06:21 PM, Rik van Riel wrote: >> On 03/19/2015 09:43 AM, Matthew Wilcox wrote: >> >>> 1. Construct struct pages for persistent memory >>> 1a. Permanently >>> 1b. While the pages are under I/O >> >> Michael Tsirkin and I have been doing

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-23 Thread Rik van Riel
On 03/22/2015 11:51 AM, Boaz Harrosh wrote: On 03/20/2015 06:21 PM, Rik van Riel wrote: On 03/19/2015 09:43 AM, Matthew Wilcox wrote: 1. Construct struct pages for persistent memory 1a. Permanently 1b. While the pages are under I/O Michael Tsirkin and I have been doing some thinking about

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-23 Thread Christoph Hellwig
On Mon, Mar 23, 2015 at 11:19:07AM -0400, Rik van Riel wrote: There are two things going on here: 1) You want to keep using struct page for now, while there are subsystems that require it. This is perfectly legitimate. 2) Matthew and Dan are changing over some subsystems to no longer

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/22/2015 07:22 PM, Dan Williams wrote: > On Sun, Mar 22, 2015 at 10:06 AM, Boaz Harrosh wrote: <> >> >> Moving to pfn's only means that all this unnamed code above that >> "relies on struct page being PAGE_SIZE" is now not allowed to >> interfaced with bio and sg list. Which in current code

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/19/2015 10:59 PM, Dan Williams wrote: > > At least for block-i/o it seems the only place we really need struct > page infrastructure is for kmap(). Given we already need a kmap_pfn() > solution for option 2 a "dynamic allocation" stop along that > development path may just naturally fall

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Dan Williams
On Sun, Mar 22, 2015 at 10:06 AM, Boaz Harrosh wrote: > On 03/20/2015 11:08 PM, Rik van Riel wrote: >> On 03/20/2015 04:31 PM, Matthew Wilcox wrote: > <> >>> There's a lot of code out there that relies on struct page being PAGE_SIZE >>> bytes. I'm cool with replacing 'struct page' with 'struct

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/20/2015 11:08 PM, Rik van Riel wrote: > On 03/20/2015 04:31 PM, Matthew Wilcox wrote: <> >> There's a lot of code out there that relies on struct page being PAGE_SIZE >> bytes. I'm cool with replacing 'struct page' with 'struct superpage' >> [1] in the biovec and auditing all of the code

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/19/2015 08:17 PM, Christoph Hellwig wrote: <> > > In addition to the options there's also a time line. At least for the > short term where we want to get something going 1a seems like the > absolutely be option. It works perfectly fine for the lots of small > capacity dram-like nvdimms,

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/20/2015 10:31 PM, Matthew Wilcox wrote: <> > > There's a lot of code out there that relies on struct page being PAGE_SIZE > bytes. Not so much really. Not at the lower end of the stack. You can actually feed a vp = kmalloc(64K); bv_page = virt_to_page(vp) bv_len

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/20/2015 06:21 PM, Rik van Riel wrote: > On 03/19/2015 09:43 AM, Matthew Wilcox wrote: > >> 1. Construct struct pages for persistent memory >> 1a. Permanently >> 1b. While the pages are under I/O > > Michael Tsirkin and I have been doing some thinking about what > it would take to allocate

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/20/2015 05:56 PM, Rik van Riel wrote: > On 03/18/2015 10:38 AM, Boaz Harrosh wrote: >> On 03/18/2015 03:06 PM, Matthew Wilcox wrote: > I'm not the one afraid of hard work, if it was for a good cause, but for what? really for what? The block layer, and RDMA, and networking,

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/19/2015 09:59 PM, Andrew Morton wrote: > On Thu, 19 Mar 2015 17:54:15 +0200 Boaz Harrosh wrote: > >> On 03/19/2015 03:43 PM, Matthew Wilcox wrote: >> <> >>> >>> Dan missed "Support O_DIRECT to a mapped DAX file". More generally, if we >>> want to be able to do any kind of I/O directly to

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/19/2015 09:59 PM, Andrew Morton wrote: On Thu, 19 Mar 2015 17:54:15 +0200 Boaz Harrosh b...@plexistor.com wrote: On 03/19/2015 03:43 PM, Matthew Wilcox wrote: Dan missed Support O_DIRECT to a mapped DAX file. More generally, if we want to be able to do any kind of I/O directly to

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/20/2015 05:56 PM, Rik van Riel wrote: On 03/18/2015 10:38 AM, Boaz Harrosh wrote: On 03/18/2015 03:06 PM, Matthew Wilcox wrote: I'm not the one afraid of hard work, if it was for a good cause, but for what? really for what? The block layer, and RDMA, and networking, and spline, and

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/20/2015 06:21 PM, Rik van Riel wrote: On 03/19/2015 09:43 AM, Matthew Wilcox wrote: 1. Construct struct pages for persistent memory 1a. Permanently 1b. While the pages are under I/O Michael Tsirkin and I have been doing some thinking about what it would take to allocate struct

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/19/2015 08:17 PM, Christoph Hellwig wrote: In addition to the options there's also a time line. At least for the short term where we want to get something going 1a seems like the absolutely be option. It works perfectly fine for the lots of small capacity dram-like nvdimms, and it

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/20/2015 11:08 PM, Rik van Riel wrote: On 03/20/2015 04:31 PM, Matthew Wilcox wrote: There's a lot of code out there that relies on struct page being PAGE_SIZE bytes. I'm cool with replacing 'struct page' with 'struct superpage' [1] in the biovec and auditing all of the code which

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Dan Williams
On Sun, Mar 22, 2015 at 10:06 AM, Boaz Harrosh b...@plexistor.com wrote: On 03/20/2015 11:08 PM, Rik van Riel wrote: On 03/20/2015 04:31 PM, Matthew Wilcox wrote: There's a lot of code out there that relies on struct page being PAGE_SIZE bytes. I'm cool with replacing 'struct page' with

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/19/2015 10:59 PM, Dan Williams wrote: At least for block-i/o it seems the only place we really need struct page infrastructure is for kmap(). Given we already need a kmap_pfn() solution for option 2 a dynamic allocation stop along that development path may just naturally fall out.

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/20/2015 10:31 PM, Matthew Wilcox wrote: There's a lot of code out there that relies on struct page being PAGE_SIZE bytes. Not so much really. Not at the lower end of the stack. You can actually feed a vp = kmalloc(64K); bv_page = virt_to_page(vp) bv_len = 64k

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-22 Thread Boaz Harrosh
On 03/22/2015 07:22 PM, Dan Williams wrote: On Sun, Mar 22, 2015 at 10:06 AM, Boaz Harrosh b...@plexistor.com wrote: Moving to pfn's only means that all this unnamed code above that relies on struct page being PAGE_SIZE is now not allowed to interfaced with bio and sg list. Which in current

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-20 Thread Wols Lists
On 20/03/15 20:31, Matthew Wilcox wrote: > Ah! I've looked at that a couple of times as well. I asked our database > performance team what impact freeing up the memmap would have on their > performance. They told me that doubling the amount of memory generally > resulted in approximately a 40%

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-20 Thread Rik van Riel
On 03/20/2015 04:31 PM, Matthew Wilcox wrote: > On Fri, Mar 20, 2015 at 12:21:34PM -0400, Rik van Riel wrote: >> On 03/19/2015 09:43 AM, Matthew Wilcox wrote: >> >>> 1. Construct struct pages for persistent memory >>> 1a. Permanently >>> 1b. While the pages are under I/O >> >> Michael Tsirkin and

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-20 Thread Matthew Wilcox
On Fri, Mar 20, 2015 at 12:21:34PM -0400, Rik van Riel wrote: > On 03/19/2015 09:43 AM, Matthew Wilcox wrote: > > > 1. Construct struct pages for persistent memory > > 1a. Permanently > > 1b. While the pages are under I/O > > Michael Tsirkin and I have been doing some thinking about what > it

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-20 Thread Wols Lists
On 19/03/15 19:59, Andrew Morton wrote: > This is all contingent upon the prevalence of machines which have vast > amounts of nv memory and relatively small amounts of regular memory. > How confident are we that this really is the future? Somewhat off-topic, but it's also the past. I can't help

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-20 Thread Rik van Riel
On 03/19/2015 09:43 AM, Matthew Wilcox wrote: > 1. Construct struct pages for persistent memory > 1a. Permanently > 1b. While the pages are under I/O Michael Tsirkin and I have been doing some thinking about what it would take to allocate struct pages per 2MB area permanently, and allocate

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-20 Thread Rik van Riel
On 03/18/2015 10:38 AM, Boaz Harrosh wrote: > On 03/18/2015 03:06 PM, Matthew Wilcox wrote: >>> I'm not the one afraid of hard work, if it was for a good cause, but for >>> what? >>> really for what? The block layer, and RDMA, and networking, and spline, and >>> what >>> ever the heck any one

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-20 Thread Rik van Riel
On 03/18/2015 10:38 AM, Boaz Harrosh wrote: On 03/18/2015 03:06 PM, Matthew Wilcox wrote: I'm not the one afraid of hard work, if it was for a good cause, but for what? really for what? The block layer, and RDMA, and networking, and spline, and what ever the heck any one wants to imagine

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-20 Thread Rik van Riel
On 03/20/2015 04:31 PM, Matthew Wilcox wrote: On Fri, Mar 20, 2015 at 12:21:34PM -0400, Rik van Riel wrote: On 03/19/2015 09:43 AM, Matthew Wilcox wrote: 1. Construct struct pages for persistent memory 1a. Permanently 1b. While the pages are under I/O Michael Tsirkin and I have been doing

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-20 Thread Wols Lists
On 19/03/15 19:59, Andrew Morton wrote: This is all contingent upon the prevalence of machines which have vast amounts of nv memory and relatively small amounts of regular memory. How confident are we that this really is the future? Somewhat off-topic, but it's also the past. I can't help

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-20 Thread Rik van Riel
On 03/19/2015 09:43 AM, Matthew Wilcox wrote: 1. Construct struct pages for persistent memory 1a. Permanently 1b. While the pages are under I/O Michael Tsirkin and I have been doing some thinking about what it would take to allocate struct pages per 2MB area permanently, and allocate

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-20 Thread Matthew Wilcox
On Fri, Mar 20, 2015 at 12:21:34PM -0400, Rik van Riel wrote: On 03/19/2015 09:43 AM, Matthew Wilcox wrote: 1. Construct struct pages for persistent memory 1a. Permanently 1b. While the pages are under I/O Michael Tsirkin and I have been doing some thinking about what it would take to

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-20 Thread Wols Lists
On 20/03/15 20:31, Matthew Wilcox wrote: Ah! I've looked at that a couple of times as well. I asked our database performance team what impact freeing up the memmap would have on their performance. They told me that doubling the amount of memory generally resulted in approximately a 40%

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Dan Williams
On Thu, Mar 19, 2015 at 12:59 PM, Andrew Morton wrote: > On Thu, 19 Mar 2015 17:54:15 +0200 Boaz Harrosh wrote: > >> On 03/19/2015 03:43 PM, Matthew Wilcox wrote: >> <> >> > >> > Dan missed "Support O_DIRECT to a mapped DAX file". More generally, if we >> > want to be able to do any kind of I/O

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Andrew Morton
On Thu, 19 Mar 2015 17:54:15 +0200 Boaz Harrosh wrote: > On 03/19/2015 03:43 PM, Matthew Wilcox wrote: > <> > > > > Dan missed "Support O_DIRECT to a mapped DAX file". More generally, if we > > want to be able to do any kind of I/O directly to persistent memory, > > and I think we do, we need

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Matthew Wilcox
On Thu, Mar 19, 2015 at 11:17:25AM -0700, Christoph Hellwig wrote: > On Thu, Mar 19, 2015 at 09:43:13AM -0400, Matthew Wilcox wrote: > > 1. Construct struct pages for persistent memory > > 1a. Permanently > > 1b. While the pages are under I/O > > 2. Teach the I/O layers to deal in PFNs instead of

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Christoph Hellwig
On Thu, Mar 19, 2015 at 09:43:13AM -0400, Matthew Wilcox wrote: > Dan missed "Support O_DIRECT to a mapped DAX file". More generally, if we > want to be able to do any kind of I/O directly to persistent memory, > and I think we do, we need to do one of: > > 1. Construct struct pages for

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Boaz Harrosh
On 03/19/2015 03:43 PM, Matthew Wilcox wrote: <> > > Dan missed "Support O_DIRECT to a mapped DAX file". More generally, if we > want to be able to do any kind of I/O directly to persistent memory, > and I think we do, we need to do one of: > > 1. Construct struct pages for persistent memory >

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Matthew Wilcox
On Wed, Mar 18, 2015 at 01:26:50PM -0700, Andrew Morton wrote: > On Mon, 16 Mar 2015 16:25:25 -0400 Dan Williams > wrote: > > > Avoid the impending disaster of requiring struct page coverage for what > > is expected to be ever increasing capacities of persistent memory. In > > conversations

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Matthew Wilcox
On Thu, Mar 19, 2015 at 11:17:25AM -0700, Christoph Hellwig wrote: On Thu, Mar 19, 2015 at 09:43:13AM -0400, Matthew Wilcox wrote: 1. Construct struct pages for persistent memory 1a. Permanently 1b. While the pages are under I/O 2. Teach the I/O layers to deal in PFNs instead of struct

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Andrew Morton
On Thu, 19 Mar 2015 17:54:15 +0200 Boaz Harrosh b...@plexistor.com wrote: On 03/19/2015 03:43 PM, Matthew Wilcox wrote: Dan missed Support O_DIRECT to a mapped DAX file. More generally, if we want to be able to do any kind of I/O directly to persistent memory, and I think we do, we

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Matthew Wilcox
On Wed, Mar 18, 2015 at 01:26:50PM -0700, Andrew Morton wrote: On Mon, 16 Mar 2015 16:25:25 -0400 Dan Williams dan.j.willi...@intel.com wrote: Avoid the impending disaster of requiring struct page coverage for what is expected to be ever increasing capacities of persistent memory. In

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Christoph Hellwig
On Thu, Mar 19, 2015 at 09:43:13AM -0400, Matthew Wilcox wrote: Dan missed Support O_DIRECT to a mapped DAX file. More generally, if we want to be able to do any kind of I/O directly to persistent memory, and I think we do, we need to do one of: 1. Construct struct pages for persistent

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Dan Williams
On Thu, Mar 19, 2015 at 12:59 PM, Andrew Morton a...@linux-foundation.org wrote: On Thu, 19 Mar 2015 17:54:15 +0200 Boaz Harrosh b...@plexistor.com wrote: On 03/19/2015 03:43 PM, Matthew Wilcox wrote: Dan missed Support O_DIRECT to a mapped DAX file. More generally, if we want to be

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Boaz Harrosh
On 03/19/2015 03:43 PM, Matthew Wilcox wrote: Dan missed Support O_DIRECT to a mapped DAX file. More generally, if we want to be able to do any kind of I/O directly to persistent memory, and I think we do, we need to do one of: 1. Construct struct pages for persistent memory 1a.

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-18 Thread Andrew Morton
On Mon, 16 Mar 2015 16:25:25 -0400 Dan Williams wrote: > Avoid the impending disaster of requiring struct page coverage for what > is expected to be ever increasing capacities of persistent memory. In > conversations with Rik van Riel, Mel Gorman, and Jens Axboe at the > recently concluded

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-18 Thread Dan Williams
On Wed, Mar 18, 2015 at 3:47 AM, Boaz Harrosh wrote: > On 03/16/2015 10:25 PM, Dan Williams wrote: >> Avoid the impending disaster of requiring struct page coverage for what >> is expected to be ever increasing capacities of persistent memory. > > If you are saying "disaster", than we need to

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-18 Thread Boaz Harrosh
On 03/18/2015 03:06 PM, Matthew Wilcox wrote: > On Wed, Mar 18, 2015 at 12:47:21PM +0200, Boaz Harrosh wrote: >> God! Look at this endless list of files and it is only the very beginning. >> It does not even work and touches only 10% of what will need to be touched >> for this to work, and very

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-18 Thread Matthew Wilcox
On Wed, Mar 18, 2015 at 12:47:21PM +0200, Boaz Harrosh wrote: > God! Look at this endless list of files and it is only the very beginning. > It does not even work and touches only 10% of what will need to be touched > for this to work, and very very marginally at that. There will always be >

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-18 Thread Boaz Harrosh
On 03/16/2015 10:25 PM, Dan Williams wrote: > Avoid the impending disaster of requiring struct page coverage for what > is expected to be ever increasing capacities of persistent memory. If you are saying "disaster", than we need to believe you. Or is there a scientific proof for this.

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-18 Thread Boaz Harrosh
On 03/16/2015 10:25 PM, Dan Williams wrote: Avoid the impending disaster of requiring struct page coverage for what is expected to be ever increasing capacities of persistent memory. If you are saying disaster, than we need to believe you. Or is there a scientific proof for this. Actually

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-18 Thread Matthew Wilcox
On Wed, Mar 18, 2015 at 12:47:21PM +0200, Boaz Harrosh wrote: God! Look at this endless list of files and it is only the very beginning. It does not even work and touches only 10% of what will need to be touched for this to work, and very very marginally at that. There will always be another

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-18 Thread Boaz Harrosh
On 03/18/2015 03:06 PM, Matthew Wilcox wrote: On Wed, Mar 18, 2015 at 12:47:21PM +0200, Boaz Harrosh wrote: God! Look at this endless list of files and it is only the very beginning. It does not even work and touches only 10% of what will need to be touched for this to work, and very very

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-18 Thread Dan Williams
On Wed, Mar 18, 2015 at 3:47 AM, Boaz Harrosh open...@gmail.com wrote: On 03/16/2015 10:25 PM, Dan Williams wrote: Avoid the impending disaster of requiring struct page coverage for what is expected to be ever increasing capacities of persistent memory. If you are saying disaster, than we

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-18 Thread Andrew Morton
On Mon, 16 Mar 2015 16:25:25 -0400 Dan Williams dan.j.willi...@intel.com wrote: Avoid the impending disaster of requiring struct page coverage for what is expected to be ever increasing capacities of persistent memory. In conversations with Rik van Riel, Mel Gorman, and Jens Axboe at the

[RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-16 Thread Dan Williams
Avoid the impending disaster of requiring struct page coverage for what is expected to be ever increasing capacities of persistent memory. In conversations with Rik van Riel, Mel Gorman, and Jens Axboe at the recently concluded Linux Storage Summit it became clear that struct page is not required

[RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-16 Thread Dan Williams
Avoid the impending disaster of requiring struct page coverage for what is expected to be ever increasing capacities of persistent memory. In conversations with Rik van Riel, Mel Gorman, and Jens Axboe at the recently concluded Linux Storage Summit it became clear that struct page is not required