Re: [PATCH v2 5/5] block: enable dax for raw block devices

From: Dan Williams
Date: Thu Oct 29 2015 - 03:14:08 EST


On Thu, Oct 29, 2015 at 5:50 AM, Jeff Moyer <jmoyer@xxxxxxxxxx> wrote:
> Dan Williams <dan.j.williams@xxxxxxxxx> writes:
>
>> If an application wants exclusive access to all of the persistent memory
>> provided by an NVDIMM namespace it can use this raw-block-dax facility
>> to forgo establishing a filesystem. This capability is targeted
>> primarily to hypervisors wanting to provision persistent memory for
>> guests.
>
> OK, I'm going to expose my ignorance here. :) Why does the block device
> need a page_mkwrite handler?
>

You're right, it buys us nothing, and deleting it saves having to
comment on why this page_mkwrite instance is not calling
sb_start_pagefault.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/