Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1224958 > unrolled thread

[PATCH 0/1] Fix false-negative error reporting from fsync/fdatasync

Started byJunichi Nomura <j-nomura@ce.jp.nec.com>
First post2015-09-15 12:00 +0200
Last post2015-09-15 12:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/1] Fix false-negative error reporting from fsync/fdatasync Junichi Nomura <j-nomura@ce.jp.nec.com> - 2015-09-15 12:00 +0200

#1224958 — [PATCH 0/1] Fix false-negative error reporting from fsync/fdatasync

FromJunichi Nomura <j-nomura@ce.jp.nec.com>
Date2015-09-15 12:00 +0200
Subject[PATCH 0/1] Fix false-negative error reporting from fsync/fdatasync
Message-ID<q8VbQ-1dV-3@gated-at.bofh.it>
Applications use fsync/fdatasync to make sure data is written back to
storage. It is expected that those system calls return error if
writeback has failed (e.g. disk/transport failure, memory failure..)

However if admins run a command such as sync or fsfreeze along side,
fsync/fdatasync may return success even if writeback has failed.
That could lead to data corruption.

This patch is a minimal fix for the problem.
-- 
Jun'ichi Nomura, NEC Corporation--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web