Project

General

Profile

Bug #3515

sd gives RMW warnings for reads

Added by Hans Rosenfeld over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
driver - device drivers
Start date:
2013-02-01
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

The code to handle short or misaligned I/O in the sd driver does not distinguish between reads and writes when deciding whether to warn about RMW. This means that short or misaligned read accesses cause RMW warnings, or can return with error if the device is configured to do so. This is of course bogus as there is no RMW if there is no write involved.

We've seen this with devices that have a true 4k block size (logical and physical). The sd driver warned about RMW when some process was doing 512b reads.

History

#1

Updated by Hans Rosenfeld over 7 years ago

  • % Done changed from 0 to 90
#2

Updated by Rich Lowe over 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100
  • Tags deleted (needs-triage)

Resolved in 28f2c52

Also available in: Atom PDF