Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-08 Thread Joel Becker
On Thu, Feb 07, 2013 at 02:12:57PM -0500, Martin K. Petersen wrote: Joel == Joel Becker jl...@evilplan.org writes: Joel I'm happy to chat about it. Unfortunately, like Darrick says, Joel sys_dio() coding hasn't happened. I do think we're better off Joel with some kind of explicit API than

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-08 Thread Joel Becker
On Thu, Feb 07, 2013 at 04:04:36PM -0500, J. Bruce Fields wrote: On Thu, Feb 07, 2013 at 09:36:39AM -0800, Joel Becker wrote: Dear LSF committee, I'd like to explicitly request attendance for this discussion :-) http://marc.info/?l=linux-fsdevelm=135894412908342w=2 Also, the

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Joel Becker
On Wed, Feb 06, 2013 at 03:34:49PM -0500, Chuck Lever wrote: On Feb 6, 2013, at 3:24 PM, Darrick J. Wong darrick.w...@oracle.com wrote: On Wed, Feb 06, 2013 at 01:51:22PM -0600, Ben Myers wrote: Hi, I'm interested in discussing how to pass protection information to and from

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Darrick J. Wong
On Thu, Feb 07, 2013 at 01:40:14AM -0800, Joel Becker wrote: On Wed, Feb 06, 2013 at 03:34:49PM -0500, Chuck Lever wrote: On Feb 6, 2013, at 3:24 PM, Darrick J. Wong darrick.w...@oracle.com wrote: On Wed, Feb 06, 2013 at 01:51:22PM -0600, Ben Myers wrote: Hi, I'm

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Hannes Reinecke
On 02/07/2013 11:01 AM, Darrick J. Wong wrote: On Thu, Feb 07, 2013 at 01:40:14AM -0800, Joel Becker wrote: On Wed, Feb 06, 2013 at 03:34:49PM -0500, Chuck Lever wrote: On Feb 6, 2013, at 3:24 PM, Darrick J. Wong darrick.w...@oracle.com wrote: On Wed, Feb 06, 2013 at 01:51:22PM -0600, Ben

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Boaz Harrosh
On 02/07/2013 01:27 PM, Hannes Reinecke wrote: On 02/07/2013 11:01 AM, Darrick J. Wong wrote: On Thu, Feb 07, 2013 at 01:40:14AM -0800, Joel Becker wrote: On Wed, Feb 06, 2013 at 03:34:49PM -0500, Chuck Lever wrote: On Feb 6, 2013, at 3:24 PM, Darrick J. Wong darrick.w...@oracle.com wrote:

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Boaz Harrosh
On 02/07/2013 02:08 PM, Boaz Harrosh wrote: On 02/07/2013 01:27 PM, Hannes Reinecke wrote: On 02/07/2013 11:01 AM, Darrick J. Wong wrote: On Thu, Feb 07, 2013 at 01:40:14AM -0800, Joel Becker wrote: On Wed, Feb 06, 2013 at 03:34:49PM -0500, Chuck Lever wrote: On Feb 6, 2013, at 3:24 PM,

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Bart Van Assche
On 02/07/13 13:08, Boaz Harrosh wrote: (My addition is for support of sg_lists to bsg, in a way that makes Tomo happy I know that qemu was wanting this for a while as well as the multitude of user-mode servers) Do you think it would help / make sense if sg_alloc_table() would be modified

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Hannes Reinecke
On 02/07/2013 01:16 PM, Boaz Harrosh wrote: On 02/07/2013 02:08 PM, Boaz Harrosh wrote: On 02/07/2013 01:27 PM, Hannes Reinecke wrote: On 02/07/2013 11:01 AM, Darrick J. Wong wrote: On Thu, Feb 07, 2013 at 01:40:14AM -0800, Joel Becker wrote: On Wed, Feb 06, 2013 at 03:34:49PM -0500, Chuck

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Boaz Harrosh
On 02/07/2013 02:29 PM, Bart Van Assche wrote: On 02/07/13 13:08, Boaz Harrosh wrote: (My addition is for support of sg_lists to bsg, in a way that makes Tomo happy I know that qemu was wanting this for a while as well as the multitude of user-mode servers) Do you think it would help

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Boaz Harrosh
On 02/07/2013 02:33 PM, Hannes Reinecke wrote: On 02/07/2013 01:16 PM, Boaz Harrosh wrote: (Again libaio should be changed in concert with Kernel's new API, and we can sacrifice old user-mode performance, with a COMPAT layer. Distro maintainers should consider replacing libaio, together

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Jeff Moyer
Boaz Harrosh bharr...@panasas.com writes: I also pondered simply adding a new io_prep_* function + IO_CMD_ code to libaio and all the other plumbing necessary to make that happen... void io_prep_preadv_pi(struct iocb *iocb, int fd, const struct iovec *iov, int iovcnt,

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Zach Brown
On Thu, Feb 07, 2013 at 11:19:59AM -0500, Jeff Moyer wrote: Boaz Harrosh bharr...@panasas.com writes: For aio we just need to add additional fields to an existing structure. So yeah, I'd be interested in that discussion as well. Sure, it's easy to start there, but then you eventually

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Joel Becker
Dear LSF committee, I'd like to explicitly request attendance for this discussion :-) Joel On Thu, Feb 07, 2013 at 09:27:35AM -0800, Zach Brown wrote: On Thu, Feb 07, 2013 at 11:19:59AM -0500, Jeff Moyer wrote: Boaz Harrosh bharr...@panasas.com writes: For aio we just need to

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Martin K. Petersen
Darrick == Darrick J Wong darrick.w...@oracle.com writes: Darrick and more recently I've theorized that we could add a magic Darrick fcntl/ioctl to make the kernel recognize, say, the first iovec Darrick of a O_DIRECT *{read,write}v call as the PI buffer, which I Darrick think is similar to how

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Martin K. Petersen
Joel == Joel Becker jl...@evilplan.org writes: Joel I'm happy to chat about it. Unfortunately, like Darrick says, Joel sys_dio() coding hasn't happened. I do think we're better off Joel with some kind of explicit API than some magic state on the file. Joel I mean, even something like: Joel

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Martin K. Petersen
Ben == Ben Myers b...@sgi.com writes: Ben I'm interested in discussing how to pass protection information to Ben and from userspace. Maybe Martin could be enlisted for the Ben discussion. I'll be there, obviously. Ben I read that some work has already been done in this area but have Ben not

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread J. Bruce Fields
On Thu, Feb 07, 2013 at 09:36:39AM -0800, Joel Becker wrote: Dear LSF committee, I'd like to explicitly request attendance for this discussion :-) http://marc.info/?l=linux-fsdevelm=135894412908342w=2 Also, the way I compile the list of requests is from thread heads ...

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-07 Thread Martin K. Petersen
Darrick == Darrick J Wong darrick.w...@oracle.com writes: Darrick Is there a newer one than this? Darrick https://oss.oracle.com/projects/oracleasm/files/sources/ UEK2 git. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line unsubscribe

[LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-06 Thread Ben Myers
Hi, I'm interested in discussing how to pass protection information to and from userspace. Maybe Martin could be enlisted for the discussion. I read that some work has already been done in this area but have not been able to locate it. It looks like the bio-integrity code already makes it

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-06 Thread Darrick J. Wong
On Wed, Feb 06, 2013 at 01:51:22PM -0600, Ben Myers wrote: Hi, I'm interested in discussing how to pass protection information to and from userspace. Maybe Martin could be enlisted for the discussion. I read that some work has already been done in this area but have not been able to

Re: [LSF/MM TOPIC][ATTEND] protection information and userspace

2013-02-06 Thread Chuck Lever
On Feb 6, 2013, at 3:24 PM, Darrick J. Wong darrick.w...@oracle.com wrote: On Wed, Feb 06, 2013 at 01:51:22PM -0600, Ben Myers wrote: Hi, I'm interested in discussing how to pass protection information to and from userspace. Maybe Martin could be enlisted for the discussion. I read