Project

General

Profile

Actions

Feature #4236

closed

krbd: properly handle flush commands

Added by Alex Elder about 11 years ago. Updated almost 11 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

REQ_FLUSH and REQ_FUA are intended to implement drive
cache flushes and barrier semantics. I don't know
precisely how those need to be interpreted by the
kernel rbd implementation, but we should explicitly
handle them.

Right now, blkdev_issue_flush() can generate a zero-length
command whose sole purpose is to insert such a barrier
to a device. The kernel rbd client ignores zero-length
commands, and this is possibly (probably?) not the right
thing to do.

Actions

Also available in: Atom PDF