Page MenuHomeFreeBSD
Feed Advanced Search

Jul 9 2017

pfg committed rS320838: MFC r320079:.
MFC r320079:
Jul 9 2017, 3:03 PM

Jul 3 2017

pfg committed rS320603: ed(1): Allow the omission of one address in (.,.) and (.;.) address ranges.
ed(1): Allow the omission of one address in (.,.) and (.;.) address ranges
Jul 3 2017, 3:55 PM

Jul 2 2017

pfg abandoned D11092: Support for git-style diffs.

Committed as r320579, however I didn't add the CR link as there was no comment.

Jul 2 2017, 9:02 PM
pfg committed rS320579: patch(1): add support for git generated diffs..
patch(1): add support for git generated diffs.
Jul 2 2017, 9:00 PM
pfg committed rS320578: ext2fs: be more verbose about unsupported ext2fs features..
ext2fs: be more verbose about unsupported ext2fs features.
Jul 2 2017, 8:47 PM
pfg closed D11208: ext2fs: Add unsupported ext2fs features dmesg report by committing rS320578: ext2fs: be more verbose about unsupported ext2fs features..
Jul 2 2017, 8:47 PM

Jul 1 2017

pfg added a comment to D10315: regex(3): Consistently handle invalid {} constructs between BREs and EREs.

Ping @emaste, anything else on this one?

Jul 1 2017, 4:14 AM

Jun 30 2017

pfg added a comment to D11208: ext2fs: Add unsupported ext2fs features dmesg report.

Actually, on second thoughts, I see no advantage in using the enums so I will be committing the previous version.

Jun 30 2017, 5:02 AM
pfg accepted D11208: ext2fs: Add unsupported ext2fs features dmesg report.
Jun 30 2017, 4:56 AM

Jun 28 2017

pfg committed rP444535: Update CalculiX to version 2.12..
Update CalculiX to version 2.12.
Jun 28 2017, 2:43 AM

Jun 27 2017

pfg committed rS320408: ext2fs: Support e2di_uid_high and e2di_gid_high..
ext2fs: Support e2di_uid_high and e2di_gid_high.
Jun 27 2017, 3:07 PM
pfg closed D11354: ext2fs: add support for e2di_uid_high and e2di_gid_high. by committing rS320408: ext2fs: Support e2di_uid_high and e2di_gid_high..
Jun 27 2017, 3:07 PM

Jun 26 2017

pfg added a comment to D11208: ext2fs: Add unsupported ext2fs features dmesg report.

I have to say it looks elegant. The big doubt is if it's worth it.
kevlo@ uses it more than I do ... any opinion?

Jun 26 2017, 3:09 PM
pfg updated the diff for D11354: ext2fs: add support for e2di_uid_high and e2di_gid_high..

Applying feedback from Fedor.

Jun 26 2017, 3:02 PM

Jun 25 2017

pfg updated the diff for D11354: ext2fs: add support for e2di_uid_high and e2di_gid_high..

more bit mangling.

Jun 25 2017, 6:01 PM
pfg updated the diff for D11354: ext2fs: add support for e2di_uid_high and e2di_gid_high..

Update (again) the shifts: e2di_uid and e2di_gid are just uint16_t.

Jun 25 2017, 5:53 PM
pfg updated the diff for D11354: ext2fs: add support for e2di_uid_high and e2di_gid_high..

Fix the shifts.
Move the extended inode changes to one unique if block.
Support both RW on ext3.

Jun 25 2017, 5:40 PM
pfg created D11354: ext2fs: add support for e2di_uid_high and e2di_gid_high..
Jun 25 2017, 4:11 PM

Jun 23 2017

pfg added a comment to D11314: Add build-id to kernel and module link commandlines.

For the record

Jun 23 2017, 6:22 PM

Jun 22 2017

pfg committed rS320211: ext2fs: add dir_nlink feature support..
ext2fs: add dir_nlink feature support.
Jun 22 2017, 2:43 AM
pfg closed D11210: ext2fs: Add dir_nlink feature support by committing rS320211: ext2fs: add dir_nlink feature support..
Jun 22 2017, 2:43 AM

Jun 20 2017

pfg committed rS320170: Attempt to treat "metadata" as a collectively singular noun..
Attempt to treat "metadata" as a collectively singular noun.
Jun 20 2017, 8:22 PM
pfg committed rS320146: Improve grammar concerning "metadata"..
Improve grammar concerning "metadata".
Jun 20 2017, 2:35 PM
pfg committed rS320145: ext2fs: Add uninit_bg feature support..
ext2fs: Add uninit_bg feature support.
Jun 20 2017, 2:29 PM
pfg closed D11211: ext2fs: Add uninit_bg feature support. by committing rS320145: ext2fs: Add uninit_bg feature support..
Jun 20 2017, 2:29 PM

Jun 19 2017

pfg accepted D11210: ext2fs: Add dir_nlink feature support.
In D11210#233240, @pfg wrote:

There is something wrong still, we cannot just bump i_nlink without considering how the information is stored on disk,

http://src.illumos.org/source/xref/freebsd-head/sys/fs/ext2fs/ext2_inode_cnv.c#89

In particular, e2di_nlink is still uint16_t (see ext2_dinode.h). The higher bits must be stored somewhere.

Jun 19 2017, 5:35 PM
pfg requested changes to D11210: ext2fs: Add dir_nlink feature support.

There is something wrong still, we cannot just bump i_nlink without considering how the information is stored on disk,

Jun 19 2017, 5:14 PM
pfg accepted D11233: regex(3): Refactor fast/slow stepping bits in the matching engine.
Jun 19 2017, 4:52 PM
pfg accepted D11210: ext2fs: Add dir_nlink feature support.

Approved with a sidenote:
The helpers to increment and decrement i_nlink involve a deviation to how it's done in UFS.
I don't see any way around it, it's just the way ext4 works.

Jun 19 2017, 4:37 PM
pfg accepted D11211: ext2fs: Add uninit_bg feature support..

LGTM

Jun 19 2017, 4:28 PM

Jun 18 2017

pfg committed rS320086: MFC r319676:.
MFC r319676:
Jun 18 2017, 9:48 PM
pfg committed rS320084: MFC r319676:.
MFC r319676:
Jun 18 2017, 9:47 PM
pfg committed rS320079: ext2fs: Enable RO huge_file feature support..
ext2fs: Enable RO huge_file feature support.
Jun 18 2017, 8:56 PM
pfg closed D11209: ext2fs: Add huge_file feature RW support by committing rS320079: ext2fs: Enable RO huge_file feature support..
Jun 18 2017, 8:56 PM
pfg accepted D11209: ext2fs: Add huge_file feature RW support.

OK, I'll bite this .. besides, it just can't hurt,

Jun 18 2017, 8:46 PM
pfg added a comment to D11211: ext2fs: Add uninit_bg feature support..

Note to self: I think this feature may work on ext3 so it can be tested with tune2fs.

Jun 18 2017, 7:49 PM
pfg added a comment to D11209: ext2fs: Add huge_file feature RW support.
In D11209#232927, @thisisadrgreenthumb_gmail.com wrote:
In D11209#232380, @pfg wrote:

I think the flag is unnecessary in this case due to the way the feature flags work:

  • ROCOMPAT means that even if not supported we can mount the file system (which we do).
  • defining the feature would mean we support it fully, which would imply write support.

Unfortunately, we can mount it only in READ ONLY mode, but we need RW, because, this feature is usefull on relatively old linux distros.

Jun 18 2017, 7:40 PM
pfg added a comment to D11210: ext2fs: Add dir_nlink feature support.

For the case where EXT2F_ROCOMPAT_DIR_NLINK is defined, should be able to handle more that 65000 links.
This code doesn't support that case so we are not really supporting the feature.

Jun 18 2017, 7:22 PM
pfg added inline comments to D11211: ext2fs: Add uninit_bg feature support..
Jun 18 2017, 7:08 PM

Jun 16 2017

pfg added a comment to D11211: ext2fs: Add uninit_bg feature support..

Looks good to me.

Jun 16 2017, 3:22 PM
pfg added a comment to D11210: ext2fs: Add dir_nlink feature support.

I don't see EXT4_LINK_MAX (?):

Jun 16 2017, 3:14 PM
pfg added a comment to D11209: ext2fs: Add huge_file feature RW support.

I think the flag is unnecessary in this case due to the way the feature flags work:

Jun 16 2017, 3:06 PM

Jun 15 2017

pfg added a comment to D11209: ext2fs: Add huge_file feature RW support.
In D11209#232007, @thisisadrgreenthumb_gmail.com wrote:

The code from ext2_inode_cnv.c could be removed until bigalloc will not be added. But in all cases EXT2F_ROCOMPAT_HUGE_FILE should be placed in correct place, because it is useful feature and we can not mount drives to RW mode.

Jun 15 2017, 4:33 PM
pfg added a comment to D11211: ext2fs: Add uninit_bg feature support..
In D11211#232008, @thisisadrgreenthumb_gmail.com wrote:

Ok, you are right, I will try to add file like ext2_csum.c

Jun 15 2017, 4:29 PM
pfg added a comment to D11210: ext2fs: Add dir_nlink feature support.
In D11210#231998, @thisisadrgreenthumb_gmail.com wrote:

But we able to set 65000. I tested it on x86_64, but I can see the same for 32 bit platforms _types.h:
typedef uint64_t nlink_t; /* link count */

Actually: va_nlink is now nlink_t, this was a change for INO64, but the illumos' opengrok hasn't caught up.
The change is fine, but only on -current.

Jun 15 2017, 4:26 PM
pfg added a reviewer for D10539: Prevent SEGV on corrupted msdos directories: emaste.
Jun 15 2017, 3:41 PM
pfg added a comment to D11208: ext2fs: Add unsupported ext2fs features dmesg report.
In D11208#231970, @thisisadrgreenthumb_gmail.com wrote:

Sorry, but I did not get your idea, what use instead of struct in this case?

Jun 15 2017, 3:33 PM
pfg added a comment to D11211: ext2fs: Add uninit_bg feature support..

I don't know much about this feature but it is probably interesting enough to put all the new functionality in a different file.
ext2_alloc is already crowded.

Jun 15 2017, 3:28 PM
pfg added a comment to D11209: ext2fs: Add huge_file feature RW support.

This is probably fine but I suspect this code has never been tested: a HUGE_FILE doesn't fit in a ext2 partition so the feature implies ext4. It also will take quite long to read/write so I would assume the filesystem will require some special implementation magic.

Jun 15 2017, 3:25 PM
pfg added a comment to D11210: ext2fs: Add dir_nlink feature support.

This patch doesn't implement dir_nlink: by enabling dir_nlink you should be able to set up more than 65000 links. (linux extends the number of links somewhere, don't remember).

Jun 15 2017, 3:17 PM
pfg added a comment to D11208: ext2fs: Add unsupported ext2fs features dmesg report.

This makes sense, but I am not sure we want to use a struct for that.
Not an objection, just a comment.

Jun 15 2017, 2:25 PM

Jun 11 2017

pfg added inline comments to D11145: ext2fs: Put ext2fs acl functionality inside UFS_ACL definition.
Jun 11 2017, 7:20 PM
pfg committed rS319829: Remove unnecessary, and mismatched, comment..
Remove unnecessary, and mismatched, comment.
Jun 11 2017, 7:09 PM
pfg committed rS319827: extfs: fix the build with no UFS_ACL..
extfs: fix the build with no UFS_ACL.
Jun 11 2017, 7:05 PM
pfg closed D11145: ext2fs: Put ext2fs acl functionality inside UFS_ACL definition by committing rS319827: extfs: fix the build with no UFS_ACL..
Jun 11 2017, 7:05 PM
pfg accepted D11145: ext2fs: Put ext2fs acl functionality inside UFS_ACL definition.

BTW.. don't waste time updating this.. the changes are trivial so I will just do them locally.

Jun 11 2017, 7:00 PM
pfg requested changes to D11145: ext2fs: Put ext2fs acl functionality inside UFS_ACL definition.

Haven't compile-tested yet ...
/* !UFS_ACL */ is wrong in these cases.

Jun 11 2017, 6:42 PM

Jun 8 2017

pfg accepted D11102: science/hypre: Fix build with openmpi; other changes.

oops ..yes.

Jun 8 2017, 7:31 PM
pfg created D11092: Support for git-style diffs.
Jun 8 2017, 3:44 PM
pfg committed rS319676: patch: if reading fails, do not go into infinite loop asking for a filename..
patch: if reading fails, do not go into infinite loop asking for a filename.
Jun 8 2017, 3:15 AM
pfg accepted D11048: New port, science/hypre.

LGTM, Thanks!

Jun 8 2017, 2:55 AM

Jun 5 2017

pfg added inline comments to D11048: New port, science/hypre.
Jun 5 2017, 1:20 AM
pfg accepted D11048: New port, science/hypre.

Most of the packages that use this involve MPI: I need the MPICH build for another port I am working in (sundials), however we could also use OpenMPI.

Jun 5 2017, 1:18 AM

Jun 3 2017

pfg accepted D10920: regcomp(3): Refactor and combine top-level expression parsers.

I like bools too :).

Jun 3 2017, 2:37 PM

Jun 1 2017

pfg added a comment to D10945: kernel qsort: use inlined min() implementation from libkern.h.

...

I know you have abandoned this patch already, but I'd like to share my point of view.
Replace inline by macros has some benefits that is not only related with performance, of course each case need to be analysed, but one big benefit for me is 'code consistency' and also sometimes it makes easier to read the code as well.

So, performance is not the only and main point for these changes.

Jun 1 2017, 2:32 AM

May 29 2017

pfg committed rS319139: MFC r318788:.
MFC r318788:
May 29 2017, 3:25 PM

May 28 2017

pfg closed D10974: Fix memory leak in case of incorrect ACL type by committing rS319077: Fix potential memory leak..
May 28 2017, 5:49 PM
pfg committed rS319077: Fix potential memory leak..
Fix potential memory leak.
May 28 2017, 5:49 PM
pfg accepted D10974: Fix memory leak in case of incorrect ACL type.

Yes.. thanks to pluknet for finding the bug.

May 28 2017, 5:44 PM
pfg closed D10807: ext2fs: Add posix ACLs support by committing rS319071: Support for linux ext2fs posix-draft ACLs..
May 28 2017, 3:39 PM
pfg committed rS319071: Support for linux ext2fs posix-draft ACLs..
Support for linux ext2fs posix-draft ACLs.
May 28 2017, 3:39 PM

May 27 2017

pfg accepted D10807: ext2fs: Add posix ACLs support.

Looks good to me.

May 27 2017, 8:18 PM
pfg committed rS319000: Align text correctly by using tabs instead of spaces..
Align text correctly by using tabs instead of spaces.
May 27 2017, 8:02 PM

May 26 2017

pfg added a comment to D10539: Prevent SEGV on corrupted msdos directories.

It is not incorrect but it looks somewhat weird: Perhaps it's just an off-by-one and changing k >=0 to k > 0 in line 620 solves it more cleanly.

May 26 2017, 10:41 PM
pfg abandoned D10945: kernel qsort: use inlined min() implementation from libkern.h.

After reading a bunch of pros and cons between inline vs. macros, I got to the conclusion that it doesn't really matter. at least not for this case, and not something I want to spend time benchmarking.

May 26 2017, 7:50 PM
pfg added a comment to D10945: kernel qsort: use inlined min() implementation from libkern.h.
In D10945#226591, @pfg wrote:

What do we gain from the change?

Performance.. if we do them a lot it may be noticeable.

Do you have data to support this claim? (e.g. I don't see why inline expansion is different from macro expansion in the resulting code).

May 26 2017, 7:36 PM
pfg added a comment to D10945: kernel qsort: use inlined min() implementation from libkern.h.

What do we gain from the change?

Performance.. if we do them a lot it may be noticeable.

May 26 2017, 6:29 PM
pfg created D10945: kernel qsort: use inlined min() implementation from libkern.h.
May 26 2017, 6:09 PM
pfg committed rS318913: fts_open: move bogus initialization further below, before it is used..
fts_open: move bogus initialization further below, before it is used.
May 26 2017, 1:15 AM

May 25 2017

pfg accepted D10315: regex(3): Consistently handle invalid {} constructs between BREs and EREs.

exp-run issues (from PR 218495) have been resolved now.

May 25 2017, 8:33 PM

May 24 2017

pfg committed rS318788: bhyvegc_resize: make use of reallocarray(3) for bounds-checking..
bhyvegc_resize: make use of reallocarray(3) for bounds-checking.
May 24 2017, 2:24 PM

May 23 2017

pfg committed rS318750: Bring some rough support for FreeBSD S/390 to the GNU toolchain..
Bring some rough support for FreeBSD S/390 to the GNU toolchain.
May 23 2017, 4:38 PM

May 22 2017

pfg committed rS318686: ndbm.h: Add a comment pointing out our non-compliance with POSIX..
ndbm.h: Add a comment pointing out our non-compliance with POSIX.
May 22 2017, 11:18 PM

May 19 2017

pfg added a comment to D10807: ext2fs: Add posix ACLs support.
In D10807#224273, @thisisadrgreenthumb_gmail.com wrote:

:) May be I said about copy-paste too roughly, but I will lie if I say that I do not use the linux source code.

May 19 2017, 10:34 PM
pfg added a comment to D10807: ext2fs: Add posix ACLs support.
In D10807#224256, @thisisadrgreenthumb_gmail.com wrote:

The reason, why I prefer to leave these functions as is, because it is mostly copy-paste from ext4 linux sources, and if somebody will try to compare it with original, it will be simpler.

May 19 2017, 6:49 PM
pfg added inline comments to D10807: ext2fs: Add posix ACLs support.
May 19 2017, 6:06 PM
pfg added inline comments to D10807: ext2fs: Add posix ACLs support.
May 19 2017, 2:42 PM

May 18 2017

pfg added a comment to D10807: ext2fs: Add posix ACLs support.

Minor issues.. would like to see some feedback from others.

May 18 2017, 11:04 PM
pfg committed rS318503: Release Piotr Stephaniak from mentorship..
Release Piotr Stephaniak from mentorship.
May 18 2017, 10:50 PM

May 17 2017

pfg requested changes to D10767: patch(1): Sync with OpenBSD..

This has basically all the changes I have tried to avoid.

May 17 2017, 1:29 PM

May 14 2017

pfg accepted D10704: Mark errf _Noreturn and mark errf and warn __printflike.

LGTM

May 14 2017, 1:25 AM

May 13 2017

pfg added inline comments to D10704: Mark errf _Noreturn and mark errf and warn __printflike.
May 13 2017, 8:50 PM

May 9 2017

pfg committed rS318121: MFC r317265:.
MFC r317265:
May 9 2017, 11:31 PM

May 7 2017

pfg committed rS317894: MFC r317346:.
MFC r317346:
May 7 2017, 1:31 AM
pfg committed rS317893: MFC r317036:.
MFC r317036:
May 7 2017, 1:29 AM

May 6 2017

pfg committed rS317861: MFC r317284:.
MFC r317284:
May 6 2017, 2:43 AM
pfg committed rS317860: MFC r317283:.
MFC r317283:
May 6 2017, 2:39 AM

May 4 2017

pfg committed rS317797: MFC r317200, r317201, r317216:.
MFC r317200, r317201, r317216:
May 4 2017, 3:00 PM
pfg committed rS317796: MFC r317596:.
MFC r317596:
May 4 2017, 2:55 PM
pfg committed rS317795: MFC r317596:.
MFC r317596:
May 4 2017, 2:54 PM