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-fsdevel&m=135894412908342&w=2 > >

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 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 som

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

2013-02-07 Thread Martin K. Petersen
> "Darrick" == Darrick J Wong 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 linux-scsi" in the bod

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

2013-02-07 Thread Darrick J. Wong
On Thu, Feb 07, 2013 at 02:09:17PM -0500, Martin K. Petersen wrote: > > "Darrick" == Darrick J Wong 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

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-fsdevel&m=135894412908342&w=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
> "Ben" == Ben Myers 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 b

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

2013-02-07 Thread Martin K. Petersen
> "Joel" == Joel Becker 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> ssize_t

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

2013-02-07 Thread Martin K. Petersen
> "Darrick" == Darrick J Wong 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 DIX gets PI d

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 writes: > > >> > > >> For aio we just need to add additio

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 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 end u

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

2013-02-07 Thread Jeff Moyer
Boaz Harrosh 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, long

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, toget

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 w

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 Le

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 s

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, 201

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" wrote:

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" 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 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" > > wrote: > > > > > On Wed, Feb 06, 2013 at 01:51:22PM -0600, Ben Myers wrote: > > >> Hi, > > >> > > >> I'm interes

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" 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.

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" 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 that some wo

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

[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 possi