mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 0/8] Support large files on larger ext4 partitions on larger still USB disks
Date: Tue, 16 Feb 2021 21:02:00 +0100	[thread overview]
Message-ID: <20210216200208.5275-1-a.fatoum@pengutronix.de> (raw)

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

             reply	other threads:[~2021-02-16 20:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-16 20:02 Ahmad Fatoum [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210216200208.5275-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox