Re: 2.6.35 Regression: Ages spent discarding blocks that weren't used!

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Hellwig
Date: Saturday, August 14, 2010 - 4:43 am

On Fri, Aug 13, 2010 at 11:15:38AM -0700, Hugh Dickins wrote:

Neither the SCSI (SPC and SBC) make the cache part of the protocol
except for the commands to commit them to non-volatile storage, so
even when reordering the backing device write it must still not
reorder them vs notified completion.  That's nothing specific to
discard, e.g. when a write was notified as complete a new read must
come from the cache even if it hasn't been commited to the backing
device.  Now I can't guarantee that all cheap SSD firmware
implementations gets thus right for TRIM, but if one is really
that buggy we need to blacklist it.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: 2.6.35 Regression: Ages spent discarding blocks that w ..., Martin K. Petersen, (Wed Aug 4, 11:02 am)
Re: 2.6.35 Regression: Ages spent discarding blocks that w ..., Christoph Hellwig, (Fri Aug 13, 4:54 am)
Re: 2.6.35 Regression: Ages spent discarding blocks that w ..., Christoph Hellwig, (Sat Aug 14, 4:43 am)