summaryrefslogtreecommitdiffstats
path: root/xlators/performance/io-cache/src/io-cache.c
diff options
context:
space:
mode:
authorRaghavendra Gowdappa <rgowdapp@redhat.com>2018-12-14 11:27:33 +0530
committerAmar Tumballi <amarts@redhat.com>2018-12-18 09:12:27 +0000
commit51ff065b8b9d2117688053cddb29186e3135c4a1 (patch)
tree1b2c1f659c5d90144247f1fd5f2d634fa27a2d3a /xlators/performance/io-cache/src/io-cache.c
parentf9859218da827eac5b2102673e7a89497228e672 (diff)
performance/ob: make open-behind as a child of quick-read
With read-after-open being set to yes by default, if open-behind sees any reads, it'll do an open on backend (and hence flush/release later). This means with the current order of quick-read and open-behind, open-behind sees all reads and hence also does open bringing down performance for small file reads. Since for small files, reads are absorbed by quick-read, if quick-read is made a parent of open-behind, ob doesn't witness any reads. For read-only workloads, this means ob doen't do any opens (even with read-after-open yes and use-anonymous-fd no). Change-Id: I138a42b006d104cff43ee6f07829e39c36f6f234 Signed-off-by: Raghavendra Gowdappa <rgowdapp@redhat.com> Fixes: bz#1659327
Diffstat (limited to 'xlators/performance/io-cache/src/io-cache.c')
0 files changed, 0 insertions, 0 deletions