freebsd-dev/sys
Pedro F. Giffuni 70097aac13 Define ext2fs local types and use them.
Add definitions for e2fs_daddr_t, e4fs_daddr_t in addition
to the already existing e2fs_lbn_t and adjust them for ext4.
Other than making the code more readable these changes should
fix problems related to big filesystems.

Setting the proper types can be tricky so the process was
helped by looking at UFS. In our implementation, logical block
numbers can be negative and the code depends on it. In ext2,
block numbers are unsigned so it is convenient to keep
e2fs_daddr_t unsigned and use the complete 32 bits. In the
case of e4fs_daddr_t, while the value should be unsigned, for
ext4 we only need to support 48 bits so preserving an extra
bit from the sign is not an issue.

While here also drop the ext2_setblock() prototype that was
never used.

Discussed with:	mckusick, bde
MFC after:	3 weeks
2013-08-13 15:40:43 +00:00
..
amd64 Different consumers of the struct vm_page abuse pageq member to keep 2013-08-10 17:36:42 +00:00
arm Add imx6 compatibility and make the driver work for any clock frequency. 2013-08-13 13:14:13 +00:00
boot Add optional support for default override of standard setup; but only if 2013-08-12 03:52:23 +00:00
bsm
cam Remove droping topology mutex after iterating 100 periphs in CAMGETPASSTHRU. 2013-08-07 11:34:20 +00:00
cddl FreeBSD's DTrace implementation has a few problems with respect to handling 2013-08-13 03:10:39 +00:00
compat Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
conf Add read-only support for extents in ext2fs. 2013-08-12 21:34:48 +00:00
contrib Add firmware for the Intel 2030 and variants. 2013-08-11 01:09:16 +00:00
crypto Fix const propagation issues to make GCC happy. 2013-07-11 16:27:11 +00:00
ddb
dev ieee80211_rate2plcp() and ieee80211_rate2phytype() are both pre-11n 2013-08-13 09:58:27 +00:00
fs Define ext2fs local types and use them. 2013-08-13 15:40:43 +00:00
gdb rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST 2013-07-24 09:45:31 +00:00
geom Return error when opening read-only volumes (like RAID4/5/...) for writing. 2013-08-13 07:56:40 +00:00
gnu/fs/reiserfs
i386 Different consumers of the struct vm_page abuse pageq member to keep 2013-08-10 17:36:42 +00:00
ia64 The soft and hard busy mechanism rely on the vm object lock to work. 2013-08-09 11:11:11 +00:00
isa
kern - Minor style(9) fix. 2013-08-13 13:40:31 +00:00
kgssapi Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
libkern Fix watchdog pretimeout. 2013-07-27 20:47:01 +00:00
mips Add a missing break. 2013-08-12 00:38:47 +00:00
modules Add read-only support for extents in ext2fs. 2013-08-12 21:34:48 +00:00
net Add a missing module version declaration to if_tun(4). 2013-08-07 01:32:08 +00:00
net80211 Blank m_nextpkt before passing it up. 2013-08-12 22:27:53 +00:00
netatalk Add const qualifier to the dst parameter of the ifnet if_output method. 2013-04-26 12:50:32 +00:00
netgraph Add constant for PPP-Max-PayLoad tag. 2013-07-23 10:25:34 +00:00
netinet Make the features a 64-bit value instead of 32-bit. 2013-08-12 13:52:15 +00:00
netinet6 Fix incompatibility in ICMPV6CTL_ND6_PRLIST sysctl, and SIOCGPRLST_IN6, 2013-08-06 17:10:52 +00:00
netipsec Remove the large part of struct ipsecstat. Only few fields of this 2013-07-23 14:14:24 +00:00
netipx
netnatm
netpfil Fix a possible NULL-pointer dereference on the pfsync(4) reconfiguration. 2013-07-29 13:17:18 +00:00
netsmb Remove a reference to LK_DRAIN now that lockmgr(9) is gone from this 2013-06-28 20:21:13 +00:00
nfs Changes to allow using BOOTP_NFSROOT and mounting an nfs root filesystem 2013-07-31 19:14:00 +00:00
nfsclient A problem with the old NFS client where large writes to large files 2013-07-04 00:54:23 +00:00
nfsserver - Convert the bufobj lock to rwlock. 2013-05-31 00:43:41 +00:00
nlm
ofed - Reserve a special AF for SDP. The one we were incorrectly using before 2013-08-09 03:26:17 +00:00
opencrypto
pc98 Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
pci Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
powerpc The soft and hard busy mechanism rely on the vm object lock to work. 2013-08-09 11:11:11 +00:00
rpc Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
security audit_proc_coredump: check return value of audit_new 2013-07-09 09:03:01 +00:00
sparc64 The soft and hard busy mechanism rely on the vm object lock to work. 2013-08-09 11:11:11 +00:00
sys The iconv in libc did two things - implement the standard APIs, the GNU 2013-08-13 07:15:01 +00:00
teken
tools
ufs This bug fix is in a code path in rename taken when there is a 2013-08-06 16:50:05 +00:00
vm Correct the recovery logic in vm_page_alloc_contig: 2013-08-11 21:15:04 +00:00
x86 Split the pagequeues per NUMA domains, and split pageademon process 2013-08-07 16:36:38 +00:00
xdr
xen Replace kernel virtual address space allocation with vmem. This provides 2013-08-07 06:21:20 +00:00
Makefile