Returned mail: Data format error

2017-10-16 Thread MAILER-DAEMON
1?^cµd§)¸©~¨ˆuðqlÎȶsºžŒæÓw¡Iw½×úÒFr„VúœXc×½8aô®ûì ÙXÏAY—Æ5Í$ ˆ|ÓT¢šÓ&/0¾ØN’ÓOvvµ´(N»²U'°LiÁS$?䊆ۉK¬…  _‹½{t•ˆíJ’ZæíâaÃÈßI峚¡köh5ãÑ#ôGIä»ñ“ˆVÛne†DÂáôÅ\—ÈÎO … öÝóò’zg(L<*œ}¤Ù´»{ba½˜HõҘ8QH`ß§A:‹%¼¥Ï¶ú¸y\êgî$ÃRÃÊ-b(#ÁÅÎÛ63oròäÅ¿®êûª4þø)jÐ3düʏ½Ý†Ï4 ÊÉÓ]dÝw°Iš^áů¸ØQ¶·ÂÕH¨˜©í¦Ñª

Re: [PATCH v9 0/6] MAP_DIRECT for DAX userspace flush

2017-10-16 Thread Dan Williams
On Mon, Oct 16, 2017 at 10:43 AM, Dan Williams wrote: > On Mon, Oct 16, 2017 at 12:26 AM, Christoph Hellwig wrote: >> On Fri, Oct 13, 2017 at 11:31:45AM -0600, Jason Gunthorpe wrote: >>> I don't think that really represents how lots of apps actually use >>>

[ndctl patch] btt_check_arenas: fix use of uninitialized variable

2017-10-16 Thread Jeff Moyer
Coverity complains that rc, passed to btt_xlat_status, may be used uninitialized. In that case, we may also dereference a NULL pointer. Fix it by only calling btt_xlat_status with a valid arena. Signed-off-by: Jeff Moyer diff --git a/ndctl/check.c b/ndctl/check.c index

Re: [PATCH v9 0/6] MAP_DIRECT for DAX userspace flush

2017-10-16 Thread Dan Williams
On Mon, Oct 16, 2017 at 12:26 AM, Christoph Hellwig wrote: > On Fri, Oct 13, 2017 at 11:31:45AM -0600, Jason Gunthorpe wrote: >> I don't think that really represents how lots of apps actually use >> RDMA. >> >> RDMA is often buried down in the software stack (eg in a MPI), and by >>

Re: [RFC 2/2] KVM: add virtio-pmem driver

2017-10-16 Thread Pankaj Gupta
> > On Fri, Oct 13, 2017 at 06:48:15AM -0400, Pankaj Gupta wrote: > > > On Thu, Oct 12, 2017 at 09:20:26PM +0530, Pankaj Gupta wrote: > > > > +static blk_qc_t virtio_pmem_make_request(struct request_queue *q, > > > > + struct bio *bio) > > > > +{ > > > > +

Re: [RFC 2/2] KVM: add virtio-pmem driver

2017-10-16 Thread Stefan Hajnoczi
On Fri, Oct 13, 2017 at 06:48:15AM -0400, Pankaj Gupta wrote: > > On Thu, Oct 12, 2017 at 09:20:26PM +0530, Pankaj Gupta wrote: > > > +static blk_qc_t virtio_pmem_make_request(struct request_queue *q, > > > + struct bio *bio) > > > +{ > > > + blk_status_t rc = 0; > > > + struct

Re: [PATCH v9 0/6] MAP_DIRECT for DAX userspace flush

2017-10-16 Thread Sagi Grimberg
I don't think that really represents how lots of apps actually use RDMA. RDMA is often buried down in the software stack (eg in a MPI), and by the time a mapping gets used for RDMA transfer the link between the FD, mmap and the MR is totally opaque. Having a MR specific notification means the

Re: [PATCH v9 0/6] MAP_DIRECT for DAX userspace flush

2017-10-16 Thread Sagi Grimberg
Hey folks, (chiming in very late here...) I think, if you want to build a uAPI for notification of MR lease break, then you need show how it fits into the above software model: - How it can be hidden in a RDMA specific library So, here's a strawman can ibv_poll_cq() start returning

Re: [PATCH v9 1/6] mm: introduce MAP_SHARED_VALIDATE, a mechanism to safely define new mmap flags

2017-10-16 Thread Jan Kara
On Thu 12-10-17 09:32:17, Linus Torvalds wrote: > On Thu, Oct 12, 2017 at 6:51 AM, Jan Kara wrote: > > > > When thinking a bit more about this I've realized one problem: Currently > > user can call mmap() with MAP_SHARED type and MAP_SYNC or MAP_DIRECT flags > > and he will get the

Re: [PATCH v9 1/6] mm: introduce MAP_SHARED_VALIDATE, a mechanism to safely define new mmap flags

2017-10-16 Thread Christoph Hellwig
On Thu, Oct 12, 2017 at 09:32:17AM -0700, Linus Torvalds wrote: > On Thu, Oct 12, 2017 at 6:51 AM, Jan Kara wrote: > > > > When thinking a bit more about this I've realized one problem: Currently > > user can call mmap() with MAP_SHARED type and MAP_SYNC or MAP_DIRECT flags > > and

Re: [PATCH v9 0/6] MAP_DIRECT for DAX userspace flush

2017-10-16 Thread Christoph Hellwig
On Fri, Oct 13, 2017 at 11:22:21AM -0700, Dan Williams wrote: > So, here's a strawman can ibv_poll_cq() start returning ibv_wc_status > == IBV_WC_LOC_PROT_ERR when file coherency is lost. This would make > the solution generic across DAX and non-DAX. What's you're feeling for > how well

Re: [PATCH v9 0/6] MAP_DIRECT for DAX userspace flush

2017-10-16 Thread Christoph Hellwig
On Fri, Oct 13, 2017 at 11:31:45AM -0600, Jason Gunthorpe wrote: > I don't think that really represents how lots of apps actually use > RDMA. > > RDMA is often buried down in the software stack (eg in a MPI), and by > the time a mapping gets used for RDMA transfer the link between the > FD, mmap

Re: [PATCH v9 0/6] MAP_DIRECT for DAX userspace flush

2017-10-16 Thread Christoph Hellwig
On Fri, Oct 13, 2017 at 10:38:22AM -0600, Jason Gunthorpe wrote: > > scheme specific to RDMA which seems like a waste to me when we can > > generically signal an event on the fd for any event that effects any > > of the vma's on the file. The FL_LAYOUT lease impacts the entire file, > > so as far