Page MenuHomeFreeBSD

Add chr/blk devices support.
ClosedPublic

Authored by fsu on Apr 22 2021, 5:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 2, 3:29 PM
Unknown Object (File)
Tue, Sep 30, 4:34 AM
Unknown Object (File)
Mon, Sep 29, 2:20 AM
Unknown Object (File)
Sat, Sep 27, 1:38 PM
Unknown Object (File)
Sat, Sep 27, 10:13 AM
Unknown Object (File)
Thu, Sep 25, 3:59 PM
Unknown Object (File)
Sat, Sep 20, 4:24 AM
Unknown Object (File)
Aug 25 2025, 10:28 AM
Subscribers
None

Details

Summary

Device major/minor values conversion to/from linux ext4 compatible format happen during on-disk inodes writing/reading.

Test Plan

This change makes happy bunch of pjdfstest testcases.
Also, major/minor values equality checked on linux side thru shared iSCSI target.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

fsu requested review of this revision.Apr 22 2021, 5:25 PM
fsu created this revision.

LGTM

sys/fs/ext2fs/ext2_inode_cnv.c
99

Shouldn't all these be inline?

This revision is now accepted and ready to land.Apr 22 2021, 8:54 PM
This revision now requires review to proceed.Apr 23 2021, 2:37 PM
This revision is now accepted and ready to land.Apr 23 2021, 4:07 PM
This revision was automatically updated to reflect the committed changes.