aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorArtem Bityutskiy <[email protected]>2012-05-31 16:26:12 -0700
committerLinus Torvalds <[email protected]>2012-05-31 17:49:28 -0700
commit330fe3c4c6509e0418c434b5bcf80e65cffab477 (patch)
treef170e47fa9fd25bad3a5ce6996fdfbd86daa3706 /tools/perf/scripts/python/bin
parent90b436657efb1a6d73bf0677fedee8a8c77032f6 (diff)
fat: mark superblock as dirty less often
Preparation for further changes. It touches few functions in fatent.c and prevents them from marking the superblock as dirty unnecessarily often. Namely, instead of marking it as dirty in the internal tight loops - do it only once at the end of the functions. And instead of marking it as dirty while holding the FAT table lock, do it outside the lock. The reason for this patch is that marking the superblock as dirty will soon become a little bit heavier operation, so it is cleaner to do this only when it is necessary. Signed-off-by: Artem Bityutskiy <[email protected]> Cc: OGAWA Hirofumi <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions