All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [RFC PATCH 0/2] dirreadahead system call
@ 2014-07-25 17:37 ` Abhi Das
  0 siblings, 0 replies; 49+ messages in thread
From: Abhi Das @ 2014-07-25 17:37 UTC (permalink / raw)
  To: cluster-devel.redhat.com

This system call takes 3 arguments:
fd      - file descriptor of the directory being readahead
*offset - offset in dir from which to resume. This is updated
          as we move along in the directory
count   - The max number of entries to readahead

The syscall is supposed to read upto 'count' entries starting at
'*offset' and cache the inodes corresponding to those entries. It
returns a negative error code or a positive number indicating
the number of inodes it has issued readaheads for. It also
updates the '*offset' value so that repeated calls to dirreadahead
can resume at the right location. Returns 0 when there are no more
entries left.

Abhi Das (2):
  fs: Add dirreadahead syscall and VFS hooks
  gfs2: GFS2's implementation of the dir_readahead file operation

 arch/x86/syscalls/syscall_32.tbl |   1 +
 arch/x86/syscalls/syscall_64.tbl |   1 +
 fs/gfs2/Makefile                 |   3 +-
 fs/gfs2/dir.c                    |  49 ++++++---
 fs/gfs2/dir.h                    |  15 +++
 fs/gfs2/dir_readahead.c          | 209 +++++++++++++++++++++++++++++++++++++++
 fs/gfs2/file.c                   |   2 +
 fs/gfs2/main.c                   |  10 +-
 fs/gfs2/super.c                  |   1 +
 fs/readdir.c                     |  49 +++++++++
 include/linux/fs.h               |   3 +
 11 files changed, 328 insertions(+), 15 deletions(-)
 create mode 100644 fs/gfs2/dir_readahead.c

-- 
1.8.1.4



^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2014-11-10 22:47 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-25 17:37 [Cluster-devel] [RFC PATCH 0/2] dirreadahead system call Abhi Das
2014-07-25 17:37 ` Abhi Das
2014-07-25 17:37 ` Abhi Das
2014-07-25 17:37 ` [Cluster-devel] [RFC PATCH 1/2] fs: Add dirreadahead syscall and VFS hooks Abhi Das
2014-07-25 17:37   ` Abhi Das
2014-07-29  8:21   ` [Cluster-devel] " Michael Kerrisk
2014-07-29  8:21     ` Michael Kerrisk
2014-07-29  8:21     ` Michael Kerrisk
2014-07-31  3:31     ` [Cluster-devel] " Dave Chinner
2014-07-31  3:31       ` Dave Chinner
2014-07-31  3:31       ` Dave Chinner
2014-07-25 17:37 ` [Cluster-devel] [RFC PATCH 2/2] gfs2: GFS2's implementation of the dir_readahead file operation Abhi Das
2014-07-25 17:37   ` Abhi Das
2014-07-25 17:37   ` Abhi Das
2014-07-26  5:27 ` [Cluster-devel] [RFC PATCH 0/2] dirreadahead system call Andreas Dilger
2014-07-26  5:27   ` Andreas Dilger
2014-07-28 12:52   ` [Cluster-devel] " Abhijith Das
2014-07-28 12:52     ` Abhijith Das
2014-07-28 21:19     ` [Cluster-devel] " Andreas Dilger
2014-07-28 21:19       ` Andreas Dilger
2014-07-29  9:36       ` [Cluster-devel] " Steven Whitehouse
2014-07-29  9:36         ` Steven Whitehouse
2014-07-31  4:49       ` Dave Chinner
2014-07-31  4:49         ` Dave Chinner
2014-07-31 11:19         ` [Cluster-devel] " Andreas Dilger
2014-07-31 11:19           ` Andreas Dilger
2014-07-31 23:53           ` [Cluster-devel] " Dave Chinner
2014-07-31 23:53             ` Dave Chinner
2014-08-01  2:11             ` [Cluster-devel] " Abhijith Das
2014-08-01  2:11               ` Abhijith Das
2014-08-01  5:54             ` [Cluster-devel] " Andreas Dilger
2014-08-01  5:54               ` Andreas Dilger
2014-08-06  2:01               ` [Cluster-devel] " Dave Chinner
2014-08-06  2:01                 ` Dave Chinner
2014-10-21  5:21             ` [Cluster-devel] " Abhijith Das
2014-10-21  5:21               ` Abhijith Das
2014-11-10  3:41               ` [Cluster-devel] " Abhijith Das
2014-11-10  3:41                 ` Abhijith Das
2014-11-10 22:23                 ` [Cluster-devel] " Andreas Dilger
2014-11-10 22:23                   ` Andreas Dilger
2014-11-10 22:47                   ` [Cluster-devel] " Abhijith Das
2014-11-10 22:47                     ` Abhijith Das
2014-08-01  9:14       ` Thomas Martitz
2014-07-29  8:19 ` [Cluster-devel] " Michael Kerrisk
2014-07-29  8:19   ` Michael Kerrisk
2014-07-31  3:18 ` [Cluster-devel] " NeilBrown
2014-07-31  3:18   ` NeilBrown
2014-08-01  2:21   ` [Cluster-devel] " Abhijith Das
2014-08-01  2:21     ` Abhijith Das

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.