Re: [PATCH 4/4] brd: Request from fdisk 4k alignment
From: Karel Zak
Date: Thu Aug 07 2014 - 09:00:56 EST
On Thu, Aug 07, 2014 at 03:17:23PM +0300, Boaz Harrosh wrote:
> > Is there an error case that this patch fixes? I've had page alignment checks
> > in my PRD direct_access code forever, and I don't know if they've ever
> > tripped.
> >
>
> Yes! as I said above fix fdisk. You never tripped on it because partitions never
> worked and you never tried them. With current code fdisk is very trigger happy
What do you mean with fdisk? which version?
The current fdisk (and cfdisk) follows I/O limits it has no problem
with 4K devices. All you need is to provide all necessary information
by /sys (or ioctls).
> to miss-align my partitions. Depending on size maybe not the very first one but the
> consecutive ones easily.
it would be nice to have usable bug report...
Karel
--
Karel Zak <kzak@xxxxxxxxxx>
http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/