Page MenuHomeFreeBSD

fsu (Fedor Uporov)
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 27 2017, 5:46 PM (89 w, 6 d)

Recent Activity

Aug 21 2018

fsu committed rS338153: FUSE extattrs: fix issue when neither uio nor size were not passed to VOP_*….
FUSE extattrs: fix issue when neither uio nor size were not passed to VOP_*…
Aug 21 2018, 6:50 PM
fsu closed D13737: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_* (cosmetic only)..
Aug 21 2018, 6:50 PM
fsu committed rS338152: FUSE extattrs: fix issue when neither uio nor size were not passed to VOP_*..
FUSE extattrs: fix issue when neither uio nor size were not passed to VOP_*.
Aug 21 2018, 6:40 PM
fsu closed D13528: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_* (logic only)..
Aug 21 2018, 6:40 PM
fsu committed rS338151: Change unused inodes counters behavior in the cylinder groups..
Change unused inodes counters behavior in the cylinder groups.
Aug 21 2018, 6:39 PM
fsu committed rS338150: Fix directory blocks checksum updating logic..
Fix directory blocks checksum updating logic.
Aug 21 2018, 6:39 PM

Aug 9 2018

fsu added inline comments to D13528: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_* (logic only)..
Aug 9 2018, 8:06 AM

Aug 8 2018

fsu committed rS337454: Split the dir_index and dir_nlink features..
Split the dir_index and dir_nlink features.
Aug 8 2018, 12:08 PM
fsu committed rS337453: Fix directory blocks checksum updating logic..
Fix directory blocks checksum updating logic.
Aug 8 2018, 12:08 PM

May 13 2018

fsu committed rS333586: Fix directory blocks checksumming..
Fix directory blocks checksumming.
May 13 2018, 7:48 PM
fsu closed D15396: Fix directory blocks checksumming..
May 13 2018, 7:48 PM
fsu committed rS333585: Fix on-disk inode checksum calculation logic..
Fix on-disk inode checksum calculation logic.
May 13 2018, 7:29 PM
fsu closed D15395: Fix on-disk inode checksum calculation logic..
May 13 2018, 7:29 PM
fsu committed rS333584: Fix EXT2FS_DEBUG definition usage..
Fix EXT2FS_DEBUG definition usage.
May 13 2018, 7:19 PM
fsu closed D15394: Fix EXT2FS_DEBUG definition usage..
May 13 2018, 7:19 PM
fsu added inline comments to D15396: Fix directory blocks checksumming..
May 13 2018, 8:04 AM
fsu added inline comments to D15395: Fix on-disk inode checksum calculation logic..
May 13 2018, 8:02 AM
fsu added inline comments to D15394: Fix EXT2FS_DEBUG definition usage..
May 13 2018, 8:00 AM

May 11 2018

fsu created D15396: Fix directory blocks checksumming..
May 11 2018, 6:54 PM
fsu created D15395: Fix on-disk inode checksum calculation logic..
May 11 2018, 6:54 PM
fsu created D15394: Fix EXT2FS_DEBUG definition usage..
May 11 2018, 6:54 PM

Feb 5 2018

fsu accepted D14193: ext2fs: Tidy ups for variable assignment..

I am more prefer to initialize stack variables immediately after declaration, but, seems like it is not so perfect practice.
Ok.

Feb 5 2018, 7:53 AM

Jan 29 2018

fsu committed rS328566: Fix mistake in case of zeroed inode check..
Fix mistake in case of zeroed inode check.
Jan 29 2018, 10:15 PM
fsu committed rS328564: Add flex_bg/meta_bg features RW support..
Add flex_bg/meta_bg features RW support.
Jan 29 2018, 9:54 PM
fsu closed D13964: Add flex_bg/meta_bg features RW support. .
Jan 29 2018, 9:54 PM

Jan 23 2018

fsu accepted D14017: Remove some apparently unused variables..

Yep, accepted.
The code of extents part should be slightly cleaned up, it is my "nearest" future plans)
Also, it would be great to little bit rename variables inside the ext2_ei_csum(), but I will do it by myself later to avoid influence to logic.

Jan 23 2018, 7:56 AM

Jan 19 2018

fsu added a comment to D13964: Add flex_bg/meta_bg features RW support. .
In D13964#293380, @pfg wrote:
In D13964#293266, @fsu wrote:
In D13964#293256, @pfg wrote:

Hmm.. it seems like we are getting to a rather complete ext4 implementation, which is positive. On the downside the code is diverging from UFS. We just can't have both I guess.

There are another features like RO_COMPAT_QUOTA, INCOMPAT_INLINE_DATA, etc, but from my current point of view, it is not so, important, if it will be required to implement it. I think it a not a problem.
The only feature, which will be difficult to implement is RO_COMPAT_BIGALLOC, but I hope it will be not widely used by linux.

I haven't looked at ext4 for a while but most of those features seem to require some obscure collaboration from the kernel, that is out of the scope of the driver. There's also the issue that ost of the interesting enhancements in linux assume there is journalling.

I am not sure, that journal feature is required for non-native file system, also it will be difficult to test it.

In any case , let me mention that EXT4F_RO_INCOMPAT_SUPP was created as a dirty hack: to workaround for features that we were not planning to support at all but that we needed to fake in order to read the partition.
We should remove EXT4F_RO_INCOMPAT_SUPP as it has fulfilled its purpose.

Yep, I will prepare the commit to remove it.

Have you tested performance improvements from these features? They could be the basis for a conference paper :).

I am not sure, that any of implemented ext4 features will provide the performance improvements, because these features a not targeted for it, so performance measurement is not actual.

Hmm.. right. Most of the features are actually enhancements for fsck: checksumming will probably hit performance.

Also, if you mean, comparing it with linux driver, freebsd will fail in all cases) because, it is "native" file-system for linux and freebsd driver implementation is slightly simplified comparing with it.

The objectives have been different but at some point our ext2 had the same basic performance of UFS1 and linux's ext2, which was actually faster than ext3. We have never made comparisons with ext4.

The comparing performance of ufs and extfs is an interesting. I sure, that ufs will be faster, but how many times... May be will make some measurements little bit later.

Jan 19 2018, 6:27 PM
fsu added a comment to D13964: Add flex_bg/meta_bg features RW support. .
In D13964#293256, @pfg wrote:

Hmm.. it seems like we are getting to a rather complete ext4 implementation, which is positive. On the downside the code is diverging from UFS. We just can't have both I guess.

There are another features like RO_COMPAT_QUOTA, INCOMPAT_INLINE_DATA, etc, but from my current point of view, it is not so, important, if it will be required to implement it. I think it a not a problem.
The only feature, which will be difficult to implement is RO_COMPAT_BIGALLOC, but I hope it will be not widely used by linux.

In any case , let me mention that EXT4F_RO_INCOMPAT_SUPP was created as a dirty hack: to workaround for features that we were not planning to support at all but that we needed to fake in order to read the partition.
We should remove EXT4F_RO_INCOMPAT_SUPP as it has fulfilled its purpose.

Yep, I will prepare the commit to remove it.

Have you tested performance improvements from these features? They could be the basis for a conference paper :).

I am not sure, that any of implemented ext4 features will provide the performance improvements, because these features a not targeted for it, so performance measurement is not actual.
Also, if you mean, comparing it with linux driver, freebsd will fail in all cases) because, it is "native" file-system for linux and freebsd driver implementation is slightly simplified comparing with it.

Jan 19 2018, 7:24 AM

Jan 18 2018

fsu created D13964: Add flex_bg/meta_bg features RW support. .
Jan 18 2018, 2:08 PM

Jan 14 2018

fsu committed rS327977: Add metadata_csum feature support..
Add metadata_csum feature support.
Jan 14 2018, 8:46 PM
fsu closed D13810: Add metadata_csum feature support..
Jan 14 2018, 8:46 PM

Jan 10 2018

fsu added a comment to D13810: Add metadata_csum feature support..
In D13810#289909, @pfg wrote:
In D13810#289828, @fsu wrote:
In D13810#289543, @pfg wrote:

A thought : would it be possible to checksum only what we are going to write to disk?
Data will not, generally, corrupt in memory and the kernel has no use for the checksums at runtime so we only need to write stuff when it's going to be converted to the on-disk format in ext2_inode_cnv.c.

All fields, which are mentioned in SUMMERY, should be written to disk. If it will not be updated, we will have errors reported by e2fsck, or bunch of error messages from driver on linux side.

I am not complaining at all about what is being checksummed: I understand you want to checksum everything that is needed. The main doubt is when to checksum.

There are two possibilities: you either checksum everything as soon as you get it or you checksum at the last moment before writing to disk. Both options have their advantages It seems like the checksumming is happening all over the filesystem so you are doing the former, I was only wondering if we could do all the checksums in a single place, right when we are converting to the ext2fs format for writing.

I am not sure if such thing is poosible though, and your change is not incorrect so I'll let you think about it but I'll approve the patch.

Jan 10 2018, 4:16 PM
fsu added a comment to D13810: Add metadata_csum feature support..
In D13810#289543, @pfg wrote:

A thought : would it be possible to checksum only what we are going to write to disk?
Data will not, generally, corrupt in memory and the kernel has no use for the checksums at runtime so we only need to write stuff when it's going to be converted to the on-disk format in ext2_inode_cnv.c.

Jan 10 2018, 7:53 AM

Jan 9 2018

fsu created D13810: Add metadata_csum feature support..
Jan 9 2018, 10:25 AM
fsu added inline comments to D13528: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_* (logic only)..
Jan 9 2018, 6:50 AM
fsu updated the diff for D13528: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_* (logic only)..
  • Declare struct fuse_listxattr_* to not use fuse_getxattr_* in case of list().
  • Remove ENOSYS error check in case of second fdisp_wait_answ() call under list().
Jan 9 2018, 6:37 AM

Jan 8 2018

fsu added inline comments to D13528: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_* (logic only)..
Jan 8 2018, 9:15 AM
fsu updated the diff for D13528: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_* (logic only)..

More deep reinitialization of struct fuse_dispatcher fdi before second call to fdisp_wait_answ() under fuse_vnop_listextattr().

Jan 8 2018, 8:57 AM

Jan 5 2018

fsu committed rS327585: MFC r326807:.
MFC r326807:
Jan 5 2018, 10:04 AM
fsu closed D11530: ext2fs: Add 64bit feature support.
Jan 5 2018, 10:04 AM
fsu committed rS327584: Add 64bit feature support..
Add 64bit feature support.
Jan 5 2018, 10:04 AM

Jan 3 2018

fsu updated the diff for D13267: Export extattr_*vp() functions to allow to use it in the linuxulator in future .

Ok, let's try to proceed...
Here is very initial version of vfs_extattr.c, where the io faults are handled.
It even somehow does not works with ufs, but works with ext2fs, I did not dig in this problem for now, because it is needed to figure out the direction and next steps for extattrs topic, the testing procedure will include all available filesystems with extattrs support and will be developed later.
So, @kib, could you please review it and provide the comments.

Jan 3 2018, 12:06 PM
fsu added inline comments to D11530: ext2fs: Add 64bit feature support.
Jan 3 2018, 7:44 AM

Jan 2 2018

fsu updated the diff for D11530: ext2fs: Add 64bit feature support.

Diff changes:

  • Restore FLEX_BG check.
  • Remove 64k block size/extents mount check.
  • Remove 64bit feature testing hack.
  • Revert newline in the ext2_alloc.c
Jan 2 2018, 9:02 AM
fsu added a comment to D13487: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_*..

Also, cosmetic changes are extracted in https://reviews.freebsd.org/D13737.

Jan 2 2018, 8:26 AM
fsu created D13737: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_* (cosmetic only)..
Jan 2 2018, 8:25 AM

Dec 22 2017

fsu added a comment to D11530: ext2fs: Add 64bit feature support.

What I find confusing is that there is "force_64bit_alloc", labelled for testing/debugging only and a couple of TODO things that give the impresion that the implementation is still not ready.

Dec 22 2017, 5:33 PM
fsu committed rS327087: MFC r326808, r326824:.
MFC r326808, r326824:
Dec 22 2017, 5:19 PM
fsu added a comment to D11530: ext2fs: Add 64bit feature support.

I can confirm that it is ready to commit to head with long MFC for additional testing.
I made normal tests using fsx/fstorture + tests for modes when blocks are allocated out of UINT_MAX range.
More detailed information could be found in second test scripts attachment.
The reason why it was done in two phases (I mean a bunch of time between first and second review revisions),
because this feature heavily related with extents.
There were two ways to integrate extents and 64bit:

  • RO extents, then RO 64bit, then RW extents, then RW 64bit.
  • RO extents, then RW extetns, then RW 64bit.
Dec 22 2017, 7:37 AM

Dec 20 2017

fsu updated the diff for D11530: ext2fs: Add 64bit feature support.

Updated version of 64bit feature.
It was required to implement extents feature before add it.

Dec 20 2017, 9:37 AM

Dec 19 2017

fsu updated the diff for D13528: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_* (logic only)..

Add linux_list stack variable to make listxattr() function more readable.

Dec 19 2017, 7:32 AM

Dec 18 2017

fsu added a comment to D13487: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_*..

Ok), logic fixes are extracted in https://reviews.freebsd.org/D13528.

Dec 18 2017, 8:09 AM
fsu created D13528: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_* (logic only)..
Dec 18 2017, 8:08 AM

Dec 15 2017

fsu added a comment to D13267: Export extattr_*vp() functions to allow to use it in the linuxulator in future .

It is too difficult to me to implement it now, so, seems like, I have a questions to @kib.
As I currently understand, what we want to achive to is, not allow page faults to happen during extattr operations, is insert some sort of logic, like happen between vn_io_fault() and vn_read/vn_write or VOP_READ/VOP_WRITE.
It should be inserted in the extattr_*vp() between uio initialization and VOP_*EXTATTR call.

Dec 15 2017, 8:27 AM
fsu added a comment to D13487: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_*..

Seems like, it is not clearly understandable what was fixed. Ok, let me explain:

  • The was a bug in list() function when uio was not passed, the size of linux list (not converted to bsd was returned).
  • Case when neither uio nor size were not passed to list() and get(), this logic could be used to check does extattr with some key exist or not.
Dec 15 2017, 7:43 AM

Dec 14 2017

fsu created D13487: fuse extattrs: fix issue when neither uio nor size were not passed to VOP_*..
Dec 14 2017, 7:45 AM

Dec 13 2017

fsu committed rS326824: Fix kernel build if MAC is not defined..
Fix kernel build if MAC is not defined.
Dec 13 2017, 4:15 PM

Dec 12 2017

fsu committed rS326810: MFC r326282, r326317:.
MFC r326282, r326317:
Dec 12 2017, 8:29 PM
fsu committed rS326808: Move buffer size checks outside of the vnode locks..
Move buffer size checks outside of the vnode locks.
Dec 12 2017, 8:16 PM
fsu closed D13405: Move buffer size checks outside of the vnode locks..
Dec 12 2017, 8:16 PM
fsu closed D13359: ext2fs: Fix extattr getters in case of neither uio nor buffer was not passed to VOP_*..
Dec 12 2017, 8:03 PM
fsu committed rS326807: Fix extattr getters in case of neither uio nor buffer was not passed to VOP_*..
Fix extattr getters in case of neither uio nor buffer was not passed to VOP_*.
Dec 12 2017, 8:03 PM

Dec 7 2017

fsu updated the diff for D13267: Export extattr_*vp() functions to allow to use it in the linuxulator in future .

It is difficult to find a value to restrict extattr value size. Because, as I know, in case of ntfs and hfs, the extattr sizes are "infinity".
So I decided to use the same check for uio size, so we will have two checks one on extattr_*vp() layer and one on upper layer on system call pass.
My opinio is that, the check in the extattr_*vp() layer is needed because this function will be exported as part of kernel interface.

Dec 7 2017, 8:20 AM
fsu added a comment to D13267: Export extattr_*vp() functions to allow to use it in the linuxulator in future .

Ok, here the buffer size checks in the extattr_*_vp() are moved out from vnode locks:
https://reviews.freebsd.org/D13405

Dec 7 2017, 7:57 AM
fsu created D13405: Move buffer size checks outside of the vnode locks..
Dec 7 2017, 7:56 AM

Dec 6 2017

fsu added inline comments to D13267: Export extattr_*vp() functions to allow to use it in the linuxulator in future .
Dec 6 2017, 10:43 AM
fsu updated the diff for D13267: Export extattr_*vp() functions to allow to use it in the linuxulator in future .

Switch extattr_*_vp() to use input buffers from kernelspace.

Dec 6 2017, 10:42 AM

Dec 5 2017

fsu added a comment to D13209: linuxulator: Add user xattrs support for i386 and amd64 platforms..

Ok, if I understood correctly, the idea is to use vp_extattr_*() to use in case of calls from filesystem, and extattr_*_vp() - in case of system calls.
Let's get back to:
https://reviews.freebsd.org/D13267
I want to solve the interface questions before getting back to linuxulator xattrs implementation.
Robert, you are already invited to the review above.

Dec 5 2017, 12:56 PM
fsu updated the diff for D13267: Export extattr_*vp() functions to allow to use it in the linuxulator in future .

Updated after discussion with @rwatson in the:
https://reviews.freebsd.org/D13209

Dec 5 2017, 12:47 PM

Dec 4 2017

fsu created D13359: ext2fs: Fix extattr getters in case of neither uio nor buffer was not passed to VOP_*..
Dec 4 2017, 10:14 AM
fsu added a comment to D13209: linuxulator: Add user xattrs support for i386 and amd64 platforms..

Ok, I was wrong with with MAC and user extattrs, the MAC checking functions should be restored.
Also, the general question, just to be sure, does MAC check is responsibility of VFS or the filesystem?

Dec 4 2017, 8:53 AM

Dec 1 2017

fsu added a comment to D13209: linuxulator: Add user xattrs support for i386 and amd64 platforms..

Ok, thanks for suggest.
My choice was closer to (1), because it was not required to modify kernel code, so it was faster in case of debugging, because it is not needed to rebuild kernel every time. But (2) is more clear.
So, I will not commit https://reviews.freebsd.org/D13267 for now, but I will update it little bit later together with current review.

Dec 1 2017, 9:49 AM

Nov 28 2017

fsu added a comment to D13209: linuxulator: Add user xattrs support for i386 and amd64 platforms..

As could be seen from https://reviews.freebsd.org/D13267,
all extattr_*_vp() functions were exported, but, the only extattr_delete_vp() is used by current review iteration.
To use all the extattr_*_vp() functions I need to pull up the vnode locking logic out of this functions,
because I need one vnode lock per one system call, as I understand.
So, I should decide, where is the better way:

  1. Use the current way, where from linux_*_common() I will call VOP_*'s.
  2. Try to make extattr_*_vp() from vfs_extattr.c more generic. I mean remove vnode locking logic and add additional checks.
Nov 28 2017, 8:33 AM
fsu added a comment to D13209: linuxulator: Add user xattrs support for i386 and amd64 platforms..
In D13209#276930, @cem wrote:
In D13209#276929, @pfg wrote:

In one of the early comments Fedor attached a shell script with the tests extracted from the Linux Test Project.
Alternatively you can check all the test suite here:

https://linux-test-project.github.io/

There are several at testcases/kernel/syscalls

So I need a Linux system to compile them, right? Do they compile statically or do I need some Linux shared libraries as well? Thanks!

Nov 28 2017, 7:56 AM

Nov 27 2017

fsu updated the diff for D13209: linuxulator: Add user xattrs support for i386 and amd64 platforms..

Fix different marks from pfg and cem + split the patch additionaly (see comment above).

Nov 27 2017, 11:56 AM
fsu added a comment to D13209: linuxulator: Add user xattrs support for i386 and amd64 platforms..

Make additional commit split:
https://reviews.freebsd.org/D13267

Nov 27 2017, 11:46 AM
fsu created D13267: Export extattr_*vp() functions to allow to use it in the linuxulator in future .
Nov 27 2017, 11:45 AM

Nov 24 2017

fsu added a comment to D13209: linuxulator: Add user xattrs support for i386 and amd64 platforms..

In case of linux acls worked thru xattr syscalls, but with different namespace:
% strace setfacl -m m::rx ./FILE0
...
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=64*1024}) = 0
lstat("./FILE0", {st_mode=S_IFREG|0654, st_size=5, ...}) = 0
getxattr("./FILE0", "system.posix_acl_access", "\2\0\0\0\1\0\6\0\377\377\377\377\4\0\6\0\377\377\377\377\20\0\5\0\377\377\377\377 \0\4\0\377\377\377\377", 132) = 36
exit_group(0)

Nov 24 2017, 8:30 AM
fsu created D13221: Remap freebsd ENOATTR(87) errno from linux EOPNOTSUPP(95) to ENODATA(61) for i386/amd64 architectures..
Nov 24 2017, 8:28 AM

Nov 23 2017

fsu added a comment to D13209: linuxulator: Add user xattrs support for i386 and amd64 platforms..

Test helper script for LTP running.

Nov 23 2017, 8:34 AM
fsu created D13209: linuxulator: Add user xattrs support for i386 and amd64 platforms..
Nov 23 2017, 8:33 AM

Oct 12 2017

fsu added a comment to D12485: fuse.ko: Add extattrs support..

Everything noticed above will be fixed before commit.
Conrad, I should say you thanks for your review and time, which you spent.
Also, it would be great if you can, not review, but just look to ext2fs extents diff, where you was invited.

Oct 12 2017, 10:34 AM

Oct 10 2017

fsu updated the diff for D12485: fuse.ko: Add extattrs support..
  • Add name length check.
  • Add comments to function arguments.
  • Some refactoring.
Oct 10 2017, 7:45 AM

Oct 9 2017

fsu added inline comments to D12485: fuse.ko: Add extattrs support..
Oct 9 2017, 8:01 AM
fsu updated the diff for D12485: fuse.ko: Add extattrs support..
  • Swap inplace names conversion to malloced.
  • Reorder names conversion function arguments.
  • Fix style.
Oct 9 2017, 7:55 AM

Sep 29 2017

fsu added inline comments to D12485: fuse.ko: Add extattrs support..
Sep 29 2017, 7:56 AM
fsu updated the diff for D12485: fuse.ko: Add extattrs support..
  • remove extattr namespaces sysctl.
  • revet err check according style(9)
  • swap printf() to debug_printf()
Sep 29 2017, 7:54 AM

Sep 28 2017

fsu added a comment to D12087: ext2fs: extents, initial RW support.
In D12087#259854, @pfg wrote:

Add cem@, he may want to review it before it lands.

Sep 28 2017, 4:06 PM
fsu added a comment to D12485: fuse.ko: Add extattrs support..

The diff updated.
Also, it would be great to decide something with this new namespaces sysctl, leave it or remove.
May be somebody know some experienced persons, who worked with fuse fs, and can add them to this review, to clarify this question.

Sep 28 2017, 12:37 PM
fsu updated the diff for D12485: fuse.ko: Add extattrs support..

Here are some fixes according @cem's suggestions.

Sep 28 2017, 12:37 PM

Sep 25 2017

fsu updated the diff for D12485: fuse.ko: Add extattrs support..

Update diff to have full context.

Sep 25 2017, 6:48 AM
fsu updated the diff for D12485: fuse.ko: Add extattrs support..

Update diff to have full context.

Sep 25 2017, 6:43 AM

Sep 24 2017

fsu created D12485: fuse.ko: Add extattrs support..
Sep 24 2017, 3:31 PM

Aug 26 2017

fsu added a comment to D12087: ext2fs: extents, initial RW support.

Move huge_file discussions here:
https://reviews.freebsd.org/D12131

Aug 26 2017, 7:05 PM
fsu created D12131: ext2fs:Fix huge_file feature.
Aug 26 2017, 7:04 PM

Aug 25 2017

fsu added a comment to D12087: ext2fs: extents, initial RW support.

Ok, I am not sure that it is possible to overflow this variable.
We have 16 bit from e2di_nblock_high and 32 bit from e2di_nblock.
So:
pow(2, 48) * 512 / pow(1024,4) = 131072
Where result is in TBs.
The we can see from https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout (File System Maximums table)
That for 64k blocks in both 32bit and 64bit cases we have maximum file size 256TB.

Aug 25 2017, 6:57 AM

Aug 24 2017

fsu added a comment to D12087: ext2fs: extents, initial RW support.
In D12087#251372, @pfg wrote:

I might have missed it, but have you considered the case that requires writing EXT4_HUGE_FILEs?

Yep, you can see it from attached test script, the mkfs option -O huge_file was added in all cases.

Of course, I am waiting for kevlo@ to chime in as he has more experience with this than me.

Me too:)

Aug 24 2017, 10:05 AM

Aug 23 2017

fsu updated the diff for D12087: ext2fs: extents, initial RW support.

Remove forgotten unneeded stuff.

Aug 23 2017, 6:27 AM

Aug 21 2017

fsu updated the diff for D12087: ext2fs: extents, initial RW support.

Fix small knits.

Aug 21 2017, 11:22 AM

Aug 20 2017

fsu created D12087: ext2fs: extents, initial RW support.
Aug 20 2017, 4:28 PM