mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/8] Support large files on larger ext4 partitions on larger still USB disks
@ 2021-02-16 20:02 Ahmad Fatoum
  2021-02-16 20:02 ` [PATCH 1/8] ext4: ext_common.h: drop declaration of never-defined part_offset Ahmad Fatoum
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Ahmad Fatoum @ 2021-02-16 20:02 UTC (permalink / raw)
  To: barebox

Most of this series is patching in 64-bit types at a lot of places.
I hope this doesn't add any nasty regressions elsewhere.

I tested this on ARM 32-bit (i.MX6) and sandbox x86 and x86_64.

Stuff that newly works:
 - Accessing all of a 2 TiB USB drive
 - Having multi-TB ext4 partitions
 - Having ext4 files larger than 2G

This series depends on 
"treewide: include <linux/math64.h> wrapper instead of <asm-generic/div64.h>"
to not cause a build error.

Cheers,
Ahmad Fatoum (8):
  ext4: ext_common.h: drop declaration of never-defined part_offset
  fs: ext4: ext4fs.h: remove unused struct members of ext_filesystem
  block: use 64-bit types for sector offset and count on all platforms
  usb: storage: support USB disks up to 2TiB of size
  fs: ext4: use sector_t and loff_t where appropriate
  fs: ext4: support files exceeding 4G
  show_progress: change HASHES_PER_LINE from 65 to 64 to avoid division
  copy_file: fix progress bar for files larger than 2G

 arch/sandbox/board/hostfile.c |  4 ++--
 common/block.c                | 35 +++++++++++++++++-----------------
 common/partitions.c           |  2 +-
 drivers/ata/ahci.c            | 12 ++++++------
 drivers/ata/disk_ata_drive.c  | 10 +++++-----
 drivers/ata/disk_bios_drive.c | 16 ++++++++--------
 drivers/ata/ide-sff.c         | 12 ++++++------
 drivers/block/efi-block-io.c  |  8 ++++----
 drivers/mci/mci-core.c        | 36 +++++++++++++++++------------------
 drivers/nvme/host/core.c      | 12 ++++++------
 drivers/usb/storage/usb.c     | 25 ++++++++++++------------
 fs/ext4/ext4_common.c         | 23 ++++++++++++----------
 fs/ext4/ext4_common.h         |  4 ++--
 fs/ext4/ext4fs.c              | 36 +++++++++++++++++++----------------
 fs/ext4/ext4fs.h              | 31 +-----------------------------
 fs/ext4/ext_barebox.c         |  8 ++++----
 fs/ext4/ext_common.h          | 10 +++++++++-
 include/ata_drive.h           |  4 ++--
 include/block.h               | 15 ++++++++-------
 include/linux/types.h         |  5 -----
 include/progress.h            |  6 ++++--
 lib/libfile.c                 |  2 +-
 lib/show_progress.c           | 17 ++++++++---------
 23 files changed, 159 insertions(+), 174 deletions(-)

-- 
2.29.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-02-25 10:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16 20:02 [PATCH 0/8] Support large files on larger ext4 partitions on larger still USB disks Ahmad Fatoum
2021-02-16 20:02 ` [PATCH 1/8] ext4: ext_common.h: drop declaration of never-defined part_offset Ahmad Fatoum
2021-02-16 20:02 ` [PATCH 2/8] fs: ext4: ext4fs.h: remove unused struct members of ext_filesystem Ahmad Fatoum
2021-02-16 20:02 ` [PATCH 3/8] block: use 64-bit types for sector offset and count on all platforms Ahmad Fatoum
2021-02-16 20:02 ` [PATCH 4/8] usb: storage: support USB disks up to 2TiB of size Ahmad Fatoum
2021-02-16 20:02 ` [PATCH 5/8] fs: ext4: use sector_t and loff_t where appropriate Ahmad Fatoum
2021-02-16 20:02 ` [PATCH 6/8] fs: ext4: support files exceeding 4G Ahmad Fatoum
2021-02-16 20:02 ` [PATCH 7/8] show_progress: change HASHES_PER_LINE from 65 to 64 to avoid division Ahmad Fatoum
2021-02-16 20:02 ` [PATCH 8/8] copy_file: fix progress bar for files larger than 2G Ahmad Fatoum
2021-02-18  8:24 ` [PATCH 0/8] Support large files on larger ext4 partitions on larger still USB disks Sascha Hauer
2021-02-19 13:56 ` Antony Pavlov
2021-02-25 10:49   ` Ahmad Fatoum

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