diff options
| author | Amir Samuelov <amirs@codeaurora.org> | 2014-06-22 16:43:52 +0300 |
|---|---|---|
| committer | Amir Samuelov <amirs@codeaurora.org> | 2014-06-22 16:43:52 +0300 |
| commit | acc2a3b294b75349512d612da9d86d49f2aa5c1b (patch) | |
| tree | e7cb572a4395cdbc1b6a43a6a12e5d2c4d308b88 /scripts/gcc-wrapper.py | |
| parent | b1f8e2c919fdc7f435cf783bfb1fba6c00df3f2c (diff) | |
platform: msm: fix PFT when using direct-io
When we read/write a file using dircet-io (O_DIRECT),
we can't get the inode from a bio by walking the path
bio->bi_io_vec->bv_page->mapping->host
since the page is anonymous and not mapped.
On the other more typical cases when not using O_DIRECT,
the page cache is used and the bv_page is available.
Change-Id: I349cad54a978ed9919f960d55f0f95c1e53262e5
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions
