summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2009-04-06 19:01:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-07 08:31:15 -0700
commitf30bf3e40f80ef50c17f55271deae3abc03e793e (patch)
tree2e6d69611d1443688c1a79c5e5aed60cf38672e7 /tools/perf
parent9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 (diff)
downloadkernel-f30bf3e40f80ef50c17f55271deae3abc03e793e.tar.gz
nilfs2: fix missed-sync issue for do_sync_mapping_range()
Chris Mason pointed out that there is a missed sync issue in nilfs_writepages(): On Wed, 17 Dec 2008 21:52:55 -0500, Chris Mason wrote: > It looks like nilfs_writepage ignores WB_SYNC_NONE, which is used by > do_sync_mapping_range(). where WB_SYNC_NONE in do_sync_mapping_range() was replaced with WB_SYNC_ALL by Nick's patch (commit: ee53a891f47444c53318b98dac947ede963db400). This fixes the problem by letting nilfs_writepages() write out the log of file data within the range if sync_mode is WB_SYNC_ALL. This involves removal of nilfs_file_aio_write() which was previously needed to ensure O_SYNC sync writes. Cc: Chris Mason <chris.mason@oracle.com> Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions
>Arnaldo Carvalho de Melo 2020-05-05perf evsel: Rename *perf_evsel__*set_sample_*() to *evsel__*set_sample_*()Arnaldo Carvalho de Melo 2020-03-06tools: Fix off-by 1 relative directory includesIan Rogers 2020-02-18perf auxtrace: Add auxtrace_record__read_finish()Adrian Hunter 2020-02-18perf arm-spe: Fix endless record after being terminatedAdrian Hunter 2019-09-25libperf: Move 'page_size' global variable to libperfJiri Olsa 2019-09-25libperf: Add perf_evlist__first()/last() functionsJiri Olsa 2019-09-25libperf: Move 'nr_mmaps' from 'struct evlist' to 'struct perf_evlist'Jiri Olsa 2019-09-20perf tools: Remove util.h from where it is not neededArnaldo Carvalho de Melo 2019-08-29libperf: Rename the PERF_RECORD_ structs to have a "perf" prefixJiri Olsa 2019-08-28perf tools: Use CAP_SYS_ADMIN with perf_event_paranoid checksIgor Lubashev 2019-08-26perf record: Move record_opts and other record decls out of perf.hArnaldo Carvalho de Melo 2019-07-29libperf: Move perf_event_attr field from perf's evsel to libperf's perf_evselJiri Olsa 2019-07-29perf evlist: Rename struct perf_evlist to struct evlistJiri Olsa 2019-07-29perf evsel: Rename struct perf_evsel to struct evselJiri Olsa 2019-07-09tools lib: Adopt zalloc()/zfree() from tools/perfArnaldo Carvalho de Melo