Hi Vivek,
I love your patch! Yet something to improve:
[auto build test ERROR on dm/for-next]
[also build test ERROR on s390/features xfs-linux/for-next linus/master
linux-nvdimm/libnvdimm-for-next v5.5 next-20200203]
[if your patch is applied to the wrong git tree, please drop us a note
On Fri, Jan 10, 2020 at 11:06 AM Joao Martins wrote:
>
> Hey,
Hi Joao,
>
> Presented herewith a small series which allows device-dax to work without
> struct page to be used to back KVM guests memory. It's an RFC, and there's
> still some items we're looking at (see TODO below);
So it turns
On Fri, Jan 10, 2020 at 07:03:05PM +, Joao Martins wrote:
> @@ -4366,6 +4366,7 @@ EXPORT_SYMBOL(follow_pte_pmd);
> int follow_pfn(struct vm_area_struct *vma, unsigned long address,
> unsigned long *pfn)
> {
> + pmd_t *pmdpp = NULL;
Please rename to 'pmdp'.
On Fri, Jan 10, 2020 at 07:03:04PM +, Joao Martins wrote:
> +++ b/arch/x86/include/asm/pgtable.h
> @@ -293,6 +293,15 @@ static inline int pgd_devmap(pgd_t pgd)
> {
> return 0;
> }
> +#endif
> +
> +#ifdef CONFIG_ARCH_HAS_PTE_SPECIAL
> +static inline int pmd_special(pmd_t pmd)
> +{
> +
This patch adds support for dax zero_page_range operation to dm targets.
Signed-off-by: Vivek Goyal
---
drivers/md/dm-linear.c| 18 ++
drivers/md/dm-log-writes.c| 17 +
drivers/md/dm-stripe.c| 23 +++
drivers/md/dm.c
Add a dax operation zero_page_range, to zero a range of memory. This will
also clear any poison in the range being zeroed.
As of now, zeroing of up to one page is allowed in a single call. There
are no callers which are trying to zero more than a page in a single call.
Once we grow the callers
Add dax operation zero_page_range. This just calls generic helper
generic_dax_zero_page_range().
Suggested-by: Christoph Hellwig
Signed-off-by: Vivek Goyal
---
drivers/s390/block/dcssblk.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/s390/block/dcssblk.c
Hi,
This is V2 of patches. I posted V1 here.
https://lore.kernel.org/linux-fsdevel/20200123165249.ga7...@redhat.com/
Changes since V1.
- Took care of feedback from Christoph.
- Made ->zero_page_range() mandatory operation.
- Provided a generic helper to zero range for non-pmem drivers.
- Merged
Add a helper dax_ioamp_zero() to zero a range. This patch basically
merges __dax_zero_page_range() and iomap_dax_zero().
Suggested-by: Christoph Hellwig
Signed-off-by: Vivek Goyal
---
fs/dax.c | 12 ++--
fs/iomap/buffered-io.c | 9 +
include/linux/dax.h| 11
Get rid of calling block device interface for zeroing in iomap dax
zeroing path and use dax native zeroing interface instead.
Suggested-by: Christoph Hellwig
Signed-off-by: Vivek Goyal
---
fs/dax.c | 45 +
1 file changed, 9 insertions(+), 36
Dan Williams writes:
> The align attribute applies an alignment constraint for namespace
> creation in a region. Whereas the 'align' attribute of a namespace
> applied alignment padding via an info block, the 'align' attribute
> applies alignment constraints to the free space allocation.
>
> The
Dan Williams writes:
> The NDD_ALIASING flag is used to indicate where pmem capacity might
> alias with blk capacity and require labeling. It is also used to
> indicate whether the DIMM supports labeling. Separate this latter
> capability into its own flag so that the NDD_ALIASING flag is scoped
Dan Williams writes:
> The pmem driver on PowerPC crashes with the following signature when
> instantiating misaligned namespaces that map their capacity via
> memremap_pages().
>
> BUG: Unable to handle kernel data access at 0xc00100040600
> Faulting instruction address:
Dan Williams writes:
> The "sub-section memory hotplug" facility allows memremap_pages() users
> like libnvdimm to compensate for hardware platforms like x86 that have a
> section size larger than their hardware memory mapping granularity. The
> compensation that sub-section support affords is
Dan Williams writes:
> Kill this definition that was introduced in commit 41e94a851304 ("add
> devm_memremap_pages") add never used.
>
Reviewed-by: Aneesh Kumar K.V
> Cc: Christoph Hellwig
> Signed-off-by: Dan Williams
> ---
> include/linux/io.h |2 --
> 1 file changed, 2 deletions(-)
On Tue, 3 Dec 2019 14:46:50 +1100
Alastair D'Silva wrote:
> From: Alastair D'Silva
>
> The heartbeat admin command is a simple admin command that exercises
> the communication mechanisms within the controller.
>
> This patch issues a heartbeat command to the card during init to ensure
> we
On Tue, 3 Dec 2019 14:46:52 +1100
Alastair D'Silva wrote:
> From: Alastair D'Silva
>
> The near storage command 'Secure Erase' overwrites all data on the
> media.
>
> This patch hooks it up to the security function 'overwrite'.
>
> Signed-off-by: Alastair D'Silva
A few things to tidy up in
On Tue, 3 Dec 2019 14:46:42 +1100
Alastair D'Silva wrote:
> From: Alastair D'Silva
>
> Similar to the previous patch, this adds support for near storage commands.
>
> Signed-off-by: Alastair D'Silva
> ---
> drivers/nvdimm/ocxl/scm.c | 6 +
> drivers/nvdimm/ocxl/scm_internal.c
On Tue, 3 Dec 2019 14:46:41 +1100
Alastair D'Silva wrote:
> From: Alastair D'Silva
>
> This patch requests the metadata required to issue admin commands, as well
> as some helper functions to construct and check the completion of the
> commands.
>
> Signed-off-by: Alastair D'Silva
A few
On Tue, 3 Dec 2019 14:46:40 +1100
Alastair D'Silva wrote:
> From: Alastair D'Silva
>
> This patch reads timeouts & firmware version from the controller, and
> uses those timeouts to wait for the controller to report that it is ready
> before handing the memory over to libnvdimm.
>
>
On Tue, 3 Dec 2019 14:46:38 +1100
Alastair D'Silva wrote:
> From: Alastair D'Silva
>
> This driver exposes LPC memory on OpenCAPI SCM cards
> as an NVDIMM, allowing the existing nvram infrastructure
> to be used.
>
> Namespace metadata is stored on the media itself, so
>
On Tue, 3 Dec 2019 14:46:36 +1100
Alastair D'Silva wrote:
> From: Alastair D'Silva
>
> This patch retrieves the serial number of the card and makes it available
> to consumers of the ocxl driver via the ocxl_fn struct.
>
> Signed-off-by: Alastair D'Silva
> Acked-by: Frederic Barrat
>
On Tue, 3 Dec 2019 14:46:35 +1100
Alastair D'Silva wrote:
> From: Alastair D'Silva
>
> Add functions to map/unmap LPC memory
>
> Signed-off-by: Alastair D'Silva
> ---
> drivers/misc/ocxl/config.c| 4 +++
> drivers/misc/ocxl/core.c | 50 +++
>
On Tue, 3 Dec 2019 14:46:34 +1100
Alastair D'Silva wrote:
> From: Alastair D'Silva
>
> Tally up the LPC memory on an OpenCAPI link & allow it to be mapped
>
> Signed-off-by: Alastair D'Silva
Hi Alastair,
A few trivial comments inline.
Jonathan
> ---
> drivers/misc/ocxl/core.c |
Google Inc
1600 Amphitheatre Parkway
Mountain View, CA 94043
Good day Sir/Madam,
Your Google Ad Grant has been approved.
Sincerely,
Sundar Pichai
CEO, Google Inc.
___
Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org
To unsubscribe send an
___
Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org
To unsubscribe send an email to linux-nvdimm-le...@lists.01.org
On Fri, Jan 31, 2020 at 03:31:58PM -0800, Dan Williams wrote:
> > Should we (XFS) make fallocate(ZERO_RANGE) detect when it's operating on
> > a written extent in a DAX file and call this instead of what it does now
> > (punch range and reallocate unwritten)?
>
> If it eliminates more block
27 matches
Mail list logo