[Bugs] [Bug 1375959] Files not being opened with o_direct flag during random read operation ( Glusterfs 3.8.2)

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 16 05:12:36 UTC 2016


--- Comment #11 from Krutika Dhananjay <kdhananj at redhat.com> ---
Yes, strace output would be great.

1. Could you capture the strace logs of the bricks (the smaller the brick
count, the easier it would be for me :) ) for the following cases:

i. strict-o-direct on, and everything else remains default (implying that
open-behind will also be on)

ii. strict-o-direct on and open-behind turned off

iii. strict-o-direct on and all perf xls disabled (write-behind, open-behind,
quick-read, read-ahead, io-cache, stat-prefetch).

For capturing the strace output, you can use this:

# strace -ff -f -p <pid-of-brick> -o <path-where-you-want-the-output-captured>

Not that you may have to hit Ctrl+C on the strace terminal after every run.

2. Along with 1, also start the test script (fio in your case) itself using
strace. For this, you need to run execute the following:

# strace -ff -f -o fio-strace.log <your-test-invocation-command-here>


You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=5Lb04a8ZfE&a=cc_unsubscribe

More information about the Bugs mailing list