Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1663138

Re: [git pull] first batch of ufs fixes

From Richard Narron <comet.berkeley@gmail.com>
Newsgroups linux.kernel
Subject Re: [git pull] first batch of ufs fixes
Date 2017-06-11 21:50 +0200
Message-ID <tRh22-Dj-11@gated-at.bofh.it> (permalink)
References <tQzNn-6KE-1@gated-at.bofh.it> <tQOjn-7qA-1@gated-at.bofh.it> <tQR7A-Xg-9@gated-at.bofh.it> <tQSZH-2hW-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The ufs fixes are looking good, much better than what we started with.

After applying the 8 ufs patches:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
/commit/?id=5faab9e0f03c4eef97886b45436015e107f79f5f

Copying files to FreeBSD 11.0 (ufs2) and NetBSD 7.1 (ufs2) looks
pretty good.

I can copy a large >2GB file, create a directory and then run and 
fsck without errors with a FreeBSD disk and a NetBSD disk.

But...

1) Creating an OpenBSD 6.1 (44bsd) disk and then on Linux copying a 
large > 2GB file and creating a directory, there are errors on OpenBSD
with the fsck:

OpenBSD (44bsd):
   #fsck sd0e
   ** /dev/rsd0e
   ** File system is already clean
   ** Last Mounted on /diske
   ** Phase 1 - Check Blocks and Sizes
   ** Phase 2 - Check Pathnames
   ** Phase 3 - Check Connectivity
   ** Phase 4 - Check Reference Counts
   ** Phase 5 - Check Cyl groups
   FREE BLK COUNT(S) WRONG IN SUPERBLK
   SALVAGE? [Fyn?]
   3 files, 1272410 used, 6983197 free (13 frags, 872898 blocks, 0.0% fragmentation)

   ***** FILE SYSTEM WAS MODIFIED *****

And also after removing the files on Linux, there were errors in
the fsck on OpenBSD:

   #fsck sd0e
   ** /dev/rsd0e
   ** File system is already clean
   ** Last Mounted on /diske
   ** Phase 1 - Check Blocks and Sizes
   ** Phase 2 - Check Pathnames
   ** Phase 3 - Check Connectivity
   ** Phase 4 - Check Reference Counts
   ** Phase 5 - Check Cyl groups
   FREE BLK COUNT(S) WRONG IN SUPERBLK
   SALVAGE? [Fyn?]
   1 files, 1 used, 8255606 free (14 frags, 1031949 blocks, 0.0% fragmentation)

   ***** FILE SYSTEM WAS MODIFIED *****

2) The available block counts on a newly created FreeBSD 11.0
     ufs2 filesystem (13079640) differ from Linux 4.12-rc4 (13079656):

Freebsd (ufs2):
   #df /diske
   Filesystem   1K-blocks Used    Avail Capacity  Mounted on
   /dev/ada0s3e  14217008    8 13079640     0%    /diske
Linux:
   #df /fbsd23
   Filesystem     1K-blocks  Used Available Use% Mounted on
   /dev/sda23      14217008     8  13079656   1% /fbsd23

3) The available block counts on a newly created NetBSD 7.1
     ufs2 filesystem (9518316) differ from Linux 4.12-rc4 (9518314):

NetBSD (ufs2):
   #df /nbsdf
   Filesystem     1K-blocks  Used Available Use% Mounted on
   /dev/sda22      10019278     2   9518316   1% /nbsdf
Linux:
   #df /diskf
   Filesystem    1K-blocks       Used      Avail %Cap Mounted on
   /dev/wd0f      10019278          2    9518314   0% /diskf

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[git pull] first batch of ufs fixes Al Viro <viro@ZenIV.linux.org.uk> - 2017-06-09 23:40 +0200
  Re: [git pull] first batch of ufs fixes Richard Narron <comet.berkeley@gmail.com> - 2017-06-10 15:10 +0200
    Re: [git pull] first batch of ufs fixes Al Viro <viro@ZenIV.linux.org.uk> - 2017-06-10 18:10 +0200
      Re: [git pull] first batch of ufs fixes Al Viro <viro@ZenIV.linux.org.uk> - 2017-06-10 20:10 +0200
        Re: [git pull] first batch of ufs fixes Linus Torvalds <torvalds@linux-foundation.org> - 2017-06-10 20:20 +0200
        Re: [git pull] first batch of ufs fixes Richard Narron <comet.berkeley@gmail.com> - 2017-06-11 21:50 +0200
          Re: [git pull] first batch of ufs fixes Al Viro <viro@ZenIV.linux.org.uk> - 2017-06-11 23:40 +0200
          Re: [git pull] first batch of ufs fixes Al Viro <viro@ZenIV.linux.org.uk> - 2017-06-12 08:20 +0200
            Re: [git pull] first batch of ufs fixes Richard Narron <comet.berkeley@gmail.com> - 2017-06-13 03:00 +0200
              Re: [git pull] first batch of ufs fixes Al Viro <viro@ZenIV.linux.org.uk> - 2017-06-13 03:50 +0200
                Re: [git pull] first batch of ufs fixes Richard Narron <comet.berkeley@gmail.com> - 2017-06-14 00:00 +0200
                Re: [git pull] first batch of ufs fixes Al Viro <viro@ZenIV.linux.org.uk> - 2017-06-14 09:20 +0200
                Re: [git pull] first batch of ufs fixes Richard Narron <comet.berkeley@gmail.com> - 2017-06-14 22:40 +0200
                Re: [git pull] first batch of ufs fixes Al Viro <viro@ZenIV.linux.org.uk> - 2017-06-15 10:10 +0200
                Re: [git pull] first batch of ufs fixes Richard Narron <comet.berkeley@gmail.com> - 2017-06-16 16:30 +0200
                Re: [git pull] first batch of ufs fixes Al Viro <viro@ZenIV.linux.org.uk> - 2017-06-17 04:20 +0200
                Re: [git pull] first batch of ufs fixes Al Viro <viro@ZenIV.linux.org.uk> - 2017-06-18 03:20 +0200
                Re: [git pull] first batch of ufs fixes Richard Narron <comet.berkeley@gmail.com> - 2017-06-18 22:50 +0200

csiph-web