diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2012-02-19 01:27:53 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-05-09 15:16:38 +0200 |
commit | b6a370ba0786b5eb09c479bffeffe7baba484ab0 (patch) | |
tree | f9c77b675c02ade44902532d9f62ea4e484de5cb /security/yama | |
parent | fc28845bc005995b41ae8c83c7922d088f0ad228 (diff) |
drbd: Fix a potential write ordering issue on SyncTarget nodes
If a SyncTarget node gets a P_RS_DATA_REPLY before a P_DATA packet
for the same sector, it simply submits these two IO requests.
This is be possible because on the SyncSource node, the data of the
P_RS_DATA_REPLY packet was read from disk. Immediately after that a
write request from upper layers came in.
The disk scheduler or even the "hardware" queues on the disk drive might
reorder these writes.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions