diff options
author | Keith Mannthey <kmannth@us.ibm.com> | 2011-11-30 02:44:12 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2012-02-15 16:40:22 +0100 |
commit | 941b2ddf71987ef369389517a7e215dd505fe01e (patch) | |
tree | c41936dbc4201d118cc145265d0343e3b93d46f6 /fs/proc | |
parent | Btrfs: don't reserve data with extents locked in btrfs_fallocate (diff) | |
download | linux-941b2ddf71987ef369389517a7e215dd505fe01e.tar.xz linux-941b2ddf71987ef369389517a7e215dd505fe01e.zip |
btrfs: Sector Size check during Mount
Gracefully fail when trying to mount a BTRFS file system that has a
sectorsize smaller than PAGE_SIZE.
On PPC it is possible to build a FS while using a 4k PAGE_SIZE kernel
then boot into a 64K PAGE_SIZE kernel. Presently open_ctree fails in an
endless loop and hangs the machine in this situation.
My debugging has show this Sector size < Page size to be a non trivial
situation and a graceful exit from the situation would be nice for the
time being.
Signed-off-by: Keith Mannthey <kmannth@us.ibm.com>
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions