Christoph Hellwig
7b7a8665ed
direct-io: Implement generic deferred AIO completions
...
Add support to the core direct-io code to defer AIO completions to user
context using a workqueue. This replaces opencoded and less efficient
code in XFS and ext4 (we save a memory allocation for each direct IO)
and will be needed to properly support O_(D)SYNC for AIO.
The communication between the filesystem and the direct I/O code requires
a new buffer head flag, which is a bit ugly but not avoidable until the
direct I/O code stops abusing the buffer_head structure for communicating
with the filesystems.
Currently this creates a per-superblock unbound workqueue for these
completions, which is taken from an earlier patch by Jan Kara. I'm
not really convinced about this use and would prefer a "normal" global
workqueue with a high concurrency limit, but this needs further discussion.
JK: Fixed ext4 part, dynamic allocation of the workqueue.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-09-04 09:23:46 -04:00
..
2013-05-07 18:45:36 -05:00
2012-05-29 23:28:32 -04:00
2012-05-29 23:28:32 -04:00
2013-06-27 13:34:12 -05:00
2013-05-07 18:45:36 -05:00
2012-11-19 20:11:24 -06:00
2013-06-06 10:52:15 -05:00
2013-06-06 10:52:15 -05:00
2013-04-21 14:57:43 -05:00
2013-05-07 18:45:36 -05:00
2013-04-21 14:53:46 -05:00
2013-05-20 13:09:11 -05:00
2012-11-15 21:35:12 -06:00
2013-09-04 09:23:46 -04:00
2013-09-04 09:23:46 -04:00
2013-07-09 16:40:22 -05:00
2013-06-14 15:59:16 -05:00
2013-05-30 17:26:31 -05:00
2013-05-30 17:26:31 -05:00
2013-04-27 12:49:32 -05:00
2013-04-27 12:49:32 -05:00
2013-05-07 18:45:36 -05:00
2013-06-20 13:26:09 -05:00
2013-07-09 16:40:22 -05:00
2013-07-09 16:40:22 -05:00
2013-06-14 15:59:31 -05:00
2013-05-07 18:45:36 -05:00
2013-06-27 14:27:18 -05:00
2013-06-27 13:33:11 -05:00
2013-05-30 17:26:31 -05:00
2013-01-16 16:07:11 -06:00
2012-11-19 20:11:24 -06:00
2013-05-24 16:29:37 -05:00
2013-04-27 13:01:06 -05:00
2013-06-20 13:26:09 -05:00
2013-07-25 10:41:42 -05:00
2013-07-13 11:40:24 -07:00
2013-04-27 13:01:58 -05:00
2013-06-14 15:59:16 -05:00
2013-07-09 12:29:12 -07:00
2013-05-30 17:22:54 -05:00
2013-06-29 12:57:00 +04:00
2013-06-29 12:57:00 +04:00
2013-06-29 12:57:00 +04:00
2012-08-23 14:48:44 -05:00
2012-05-14 16:21:00 -05:00
2013-07-11 10:35:32 -05:00
2013-07-11 10:35:32 -05:00
2013-04-21 14:48:41 -05:00
2013-02-26 02:46:10 -05:00
2012-05-14 16:21:04 -05:00
2012-05-14 16:21:04 -05:00
2013-05-24 16:27:57 -05:00
2013-04-05 13:25:35 -05:00
2013-07-03 16:23:27 +04:00
2013-05-30 17:19:45 -05:00
2013-06-17 17:43:04 -05:00
2012-11-08 15:34:59 -06:00
2013-05-07 18:45:36 -05:00
2013-04-21 14:53:46 -05:00
2013-06-27 14:27:18 -05:00
2013-06-27 14:26:21 -05:00
2013-07-11 10:35:32 -05:00
2013-06-26 12:29:27 -05:00
2013-06-27 13:34:12 -05:00
2013-06-27 13:34:12 -05:00
2013-04-21 15:03:33 -05:00
2012-12-17 16:29:00 -06:00
2013-07-25 10:41:42 -05:00
2013-07-11 10:35:32 -05:00
2012-05-14 16:20:54 -05:00
2013-05-07 19:00:10 -05:00
2013-07-11 10:35:32 -05:00
2013-06-27 13:27:37 -05:00
2013-07-11 10:35:32 -05:00
2013-07-09 15:36:21 -05:00
2013-05-07 18:45:36 -05:00
2013-06-27 13:32:08 -05:00
2013-04-16 13:18:33 -05:00
2013-07-25 10:41:42 -05:00
2013-06-27 13:32:08 -05:00
2013-06-27 13:34:12 -05:00
2013-05-07 18:45:36 -05:00
2013-05-07 18:45:36 -05:00
2013-06-28 17:39:22 -05:00
2013-06-19 14:54:17 -05:00
2013-07-11 10:35:32 -05:00
2013-07-11 16:49:10 -05:00
2013-07-11 10:35:32 -05:00
2013-07-11 10:35:32 -05:00
2013-07-11 16:49:10 -05:00
2013-06-28 17:39:22 -05:00
2012-05-14 16:20:54 -05:00
2012-11-15 21:34:05 -06:00
2013-06-28 13:03:49 -05:00
2013-06-28 17:39:22 -05:00
2012-10-17 12:01:25 -05:00
2013-07-11 10:35:32 -05:00
2013-06-19 14:14:43 -05:00
2013-06-17 17:42:25 -05:00
2012-11-08 15:34:59 -06:00
2013-04-27 12:33:38 -05:00
2013-07-09 12:29:12 -07:00
2012-12-17 16:29:00 -06:00
2013-06-27 13:33:11 -05:00
2013-07-11 10:35:32 -05:00
2012-05-14 16:20:54 -05:00
2013-06-28 13:00:05 -05:00
2012-07-29 16:27:57 -05:00
2013-06-27 13:36:37 -05:00
2013-06-27 13:34:12 -05:00
2013-01-17 17:32:57 -06:00
2012-07-29 16:00:31 -05:00
2013-07-11 10:35:32 -05:00
2013-06-29 12:57:00 +04:00
2013-05-07 18:45:36 -05:00