On Tue, 2014-02-25 at 10:15 +, Eric Wong wrote:
> (Did you intend to Cc LKML on your original reply?)
>
> Nathaniel Yazdani wrote:
> > On Sun, Feb 23, 2014 at 9:29 PM, Eric Wong wrote:
> > > Nathaniel Yazdani wrote:
> > >> +++ b/include/uapi/linu
On Tue, 2014-02-25 at 10:21 +, Eric Wong wrote:
> Nathaniel Yazdani wrote:
> > + * stores triggered eventpoll entries in the 'out' array. The input array
> > is
> > + * _not_ read-only, because the resulting event mask gets written back to
> > each
&g
On Tue, 2014-02-25 at 10:30 +, Eric Wong wrote:
> Nathaniel Yazdani wrote:
> > On Sun, Feb 23, 2014 at 9:32 PM, Eric Wong wrote:
> > > Nathaniel Yazdani wrote:
> > >> +asmlinkage long sys_epoll(int ep, struct epoll __user *in,
> > >> +
On 2/24/14, Jonathan Corbet wrote:
> So I was just looking things over quickly, and something jumped out at
> me. In ep_control():
>
>> +} else if (!(*io) && epi) {
>> +/* delete this eventpoll entry */
>> +if (is_file_epoll(target)) {
>> +tep = tar
On Sun, Feb 23, 2014 at 9:32 PM, Eric Wong wrote:
> Nathaniel Yazdani wrote:
>> +asmlinkage long sys_epoll(int ep, struct epoll __user *in,
>> + unsigned int inc, struct epoll __user *out,
>> + unsigned int outc, int timeout);
Add prototype for epoll() system call, defined in fs/eventpoll.c. This
interface behaves like kevent() in BSD systems in that it supports
the addition/deletion/modification of eventpoll entries in the same
system call that polls for ready events.
Signed-off-by: Nathaniel Yazdani
---
diff --git a
fully
Signed-off-by: Nathaniel Yazdani
---
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index af90312..13451a2 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -1816,6 +1981,66 @@ SYSCALL_DEFINE1(epoll_create, int, size)
}
/*
+ * This behaves like sys_epoll_ctl() and sys_epoll_wait() combined
output.
Signed-off-by: Nathaniel Yazdani
---
diff --git a/include/uapi/linux/eventpoll.h b/include/uapi/linux/eventpoll.h
index bc81fb2..e702072 100644
--- a/include/uapi/linux/eventpoll.h
+++ b/include/uapi/linux/eventpoll.h
@@ -61,6 +61,12 @@ struct epoll_event {
__u64 data
: Nathaniel Yazdani
---
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index af90312..c3251d5 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -168,8 +168,11 @@ struct epitem {
/* wakeup_source used when EPOLLWAKEUP is set */
struct wakeup_source __rcu *ws;
- /* The
Hi Everyone,
Being a new feature, this is obviously targeted for the next release
cycle. There's been some interest in a kevent()-like interface to
eventpoll, which this patch set aims to fulfill by adding an epoll()
system call (couldn't think of a more descriptive name, suggestions
welcome). The
Hi Everyone,
Being a new feature, this is obviously targeted for the next release
cycle. There's been some interest in a kevent()-like interface to
eventpoll, which this patch set aims to fulfill by adding an epoll()
system call (couldn't think of a more descriptive name, suggestions
welcome). The
On 2/3/14, Andy Lutomirski wrote:
> On 02/02/2014 06:17 PM, Nathaniel Yazdani wrote:
>> Hi everyone,
>>
>> This patch series adds support for read(), write(), and ioctl()
>> operations
>> on eventpolls as well as an associated userspace structure to format the
&
On 2/3/14, Clemens Ladisch wrote:
> Nathaniel Yazdani wrote:
>> Using the normal I/O interface to manipulate eventpolls is much neater
>> than using epoll-specific syscalls
>
> But it introduces a _second_ API, which is epoll-specific too, and does
> not use the s
() is a
simple interface to configure a default timeout for read() operations on the
given eventpoll.
Signed-off-by: Nathaniel Yazdani
---
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index af90312..7f0ce59 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -168,8 +168,11 @@ struct epitem
r (needed
for write() to properly create events but useful information in general).
Also define the ioctl() command macros to set & get the timeout of an
eventpoll.
Signed-off-by: Nathaniel Yazdani
---
diff --git a/include/uapi/linux/eventpoll.h b/include/uapi/linux/eventpoll.h
index bc81fb
Reserve a small ioctl() command space for eventpolls, of which only two
are currently utilized.
Signed-off-by: Nathaniel Yazdani
---
diff --git a/Documentation/ioctl/ioctl-number.txt
b/Documentation/ioctl/ioctl-number.txt
index d7e43fa..3c6f8ac 100644
--- a/Documentation/ioctl/ioctl-number.txt
Hi everyone,
This patch series adds support for read(), write(), and ioctl() operations
on eventpolls as well as an associated userspace structure to format the
eventpoll entries delivered via read()/write() buffers. The new structure,
struct epoll, differs from struct epoll_event mainly in that i
Hi everyone,
This patch series adds support for read(), write(), and ioctl() operations
on eventpolls as well as an associated userspace structure to format the
eventpoll entries delivered via read()/write() buffers. The new structure,
struct epoll, differs from struct epoll_event mainly in that s
es/4685>.
Signed-off-by: Nathaniel Yazdani
---
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index 187bf21..ddff072 100644
--- a/fs/ceph/mds_client.c
+++ b/fs/ceph/mds_client.c
@@ -414,6 +414,9 @@ static struct ceph_mds_session *register_session(struct
ceph_mds_client *mdsc,
{
This patch removes an unnecessary semicolon that was placed after the closing
bracket of an inline JBD wrapper function.
Signed-off-by: Nathaniel Yazdani
---
diff --git a/include/linux/jbd.h b/include/linux/jbd.h
index 7e0b622..9d789a9 100644
--- a/include/linux/jbd.h
+++ b/include/linux/jbd.h
>I'm not applying this even with the long lines in the commit message
>fixes, sorry.
Okay, well thank you for your time nonetheless.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vge
This patch combines several statements/declarations into more concise forms and
removes a
couple of unnecessary local variables within a few functions, mostly inline.
Signed-off-by: Nathaniel Yazdani
---
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c
index 192dd1a..3f7dcdb 100644
--- a
In the comment describing the sync_writers field of the btrfs_inode
struct, "fsyncing" was misspelled "fsycing."
Signed-off-by: Nathaniel Yazdani
---
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h
index d9b97d4..08b286b 100644
--- a/fs/btrfs/btrfs_in
23 matches
Mail list logo