From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 17 Apr 2020 17:09:03 -0400 Subject: [PATCH U-BOOT v2 2/3] fs: btrfs: Reject fs with sector size other than PAGE_SIZE In-Reply-To: <20200326053556.20492-3-wqu@suse.com> References: <20200326053556.20492-1-wqu@suse.com> <20200326053556.20492-3-wqu@suse.com> Message-ID: <20200417210903.GO4555@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Mar 26, 2020 at 01:35:55PM +0800, Qu Wenruo wrote: > Although in theory u-boot fs driver could easily support more sector > sizes, current code base doesn't have good enough way to grab sector > size yet. > > This would cause problem for later LZO fixes which rely on sector size. > > And considering that most u-boot boards are using 4K page size, which is > also the most common sector size for btrfs, rejecting fs with > non-page-sized sector size shouldn't cause much problem. > > This should only be a quick fix before we implement better sector size > support. > > Signed-off-by: Qu Wenruo > Cc: Marek Behun > Reviewed-by: Marek Beh?n Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: