On 03/22/2015 07:22 PM, Dan Williams wrote: > On Sun, Mar 22, 2015 at 10:06 AM, Boaz Harrosh <boaz@xxxxxxxxxxxxx> 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 and in Dan's patches >> means two tons of BUG_ONS and return -ENOTSUPP . For all these >> subsystems below the bio and sglist that operate on page_structs > > I'm not convinced it will be that bad. In hyperbolic terms, > continuing to overload struct page means we get to let floppy.c do i/o > from pmem, who needs that level of compatibility? > But you do need to make sure it does not crash. right? > Similar to sg_chain support I think it's fine to let sub-systems / > archs add pmem i/o support over time. It's a scaling problem our > development model is good at. > You are so eager to do all this massive change, and willing to do it over a decade (Judging by your own example of sg-chain) But you completely ignore the fact that what I'm saying is that nothing needs to fundamentally change at all. No support over time and no "scaling problem" at all. All we want to fix is that page-struct means NOT PAGE_SIZE but some other size. The much smaller change and full cross Kernel compatibility. What's not to like ? Cheers Boaz -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html