public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/2] removing hard coded 512 byte size from direct I/O.
@ 2010-03-05 19:42 jim owens
  0 siblings, 0 replies; only message in thread
From: jim owens @ 2010-03-05 19:42 UTC (permalink / raw)
  To: linux-btrfs, Chris Mason, Josef Bacik

The following patches add the field for tracking the smallest
device block size in the filesystem and using it instead of
the hard coded 512 byte values in dio.c.

I also implemented a simpler test for user misalignment on
devices with larger block sizes.

It passes fsx, but I have not tested mixed device block sizes
or user vector edge cases.  If this code is acceptable, I'll
do edge tests before I send the merged V3 dio.c.

jim

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-05 19:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-05 19:42 [RFC 0/2] removing hard coded 512 byte size from direct I/O jim owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox