diff options
| author | Jinshan Xiong <[email protected]> | 2016-10-02 22:28:01 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-10-16 10:24:24 +0200 |
| commit | 1e1db2a97be57702fecd859efbe6e60fafc9b349 (patch) | |
| tree | fb369a4ef4ee37f36ad6e34790b3ccd69617d3db /tools/perf/scripts/python/netdev-times.py | |
| parent | f28f1a4581cbeaaa3098655761440fd2774e4abb (diff) | |
staging: lustre: clio: Revise read ahead implementation
In this implementation, read ahead will hold the underlying DLM lock
to add read ahead pages. A new cl_io operation cio_read_ahead() is
added for this purpose. It takes parameter cl_read_ahead{} so that
each layer can adjust it by their own requirements. For example, at
OSC layer, it will make sure the read ahead region is covered by a
LDLM lock; at the LOV layer, it will make sure that the region won't
cross stripe boundary.
Legacy callback cpo_is_under_lock() is removed.
Signed-off-by: Jinshan Xiong <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3259
Reviewed-on: http://review.whamcloud.com/10859
Reviewed-by: John L. Hammond <[email protected]>
Reviewed-by: Bobi Jam <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions