Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1159878 > unrolled thread

Re: [PATCH v4 3/9] dax: drop size parameter to ->direct_access()

Started byMatthew Wilcox <willy@linux.intel.com>
First post2015-06-06 13:40 +0200
Last post2015-06-06 13:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v4 3/9] dax: drop size parameter to ->direct_access() Matthew Wilcox <willy@linux.intel.com> - 2015-06-06 13:40 +0200

#1159878 — Re: [PATCH v4 3/9] dax: drop size parameter to ->direct_access()

FromMatthew Wilcox <willy@linux.intel.com>
Date2015-06-06 13:40 +0200
SubjectRe: [PATCH v4 3/9] dax: drop size parameter to ->direct_access()
Message-ID<pykCf-7av-43@gated-at.bofh.it>
On Fri, Jun 05, 2015 at 05:19:18PM -0400, Dan Williams wrote:
> None of the implementations currently use it.  The common
> bdev_direct_access() entry point handles all the size checks before
> calling ->direct_access().

Interesting.  The reason it was still there, even after moving all
the size checks to bdev_direct_access() was to support the case of a
hypothetical future driver that exposed several discontiguous ranges as
a single block device.

But we don't actually need it for that, as long as the discontiguous
ranges are relatively large.  As the comment you deleted noted, the brd
driver could do this, but I certainly haven't taken the time to figure
out whether it'd be a performance win if the pages "just happen" to line
up right.

So I don't think I'm objecting to this patch (except that it conflicts
textually with my dynamic mapping patch that you've seen but hasn't been
posted publically yet).  Just something to think about.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web