History log of /dflybsd-src/usr.bin/fstat/fstat.c (Results 1 – 25 of 62)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.3.0, v6.0.1
# cc7134db 12-May-2021 Matthew Dillon <dillon@apollo.backplane.com>

fstat - Improve output formatting

Improve fstat output formatting and do some minor source
cleanups.

Includes-patch-by: (bug#3272) falsifian


Revision tags: v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2
# 9317c2d0 23-Jul-2020 Sascha Wildner <saw@online.de>

Fix some cases where %zd was used wrongly across the tree.


Revision tags: v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# 91ffdfc5 01-Dec-2019 Sascha Wildner <saw@online.de>

<sys/types.h>: Get rid of udev_t.

In a time long long ago, dev_t was a pointer, which later became cdev_t
during the great cleanups, until it ended up being a uint32_t, just like
udev_t. See for exa

<sys/types.h>: Get rid of udev_t.

In a time long long ago, dev_t was a pointer, which later became cdev_t
during the great cleanups, until it ended up being a uint32_t, just like
udev_t. See for example the definitions of __dev_t in <sys/stat.h>.

This commit cleans up further by removing the udev_t type, leaving just
the POSIX dev_t type for both kernel and userland. Put it inside a
_DEV_T_DECLARED to prepare for further cleanups in <sys/stat.h>.

show more ...


# 346b9dad 15-Nov-2019 zrj <rimvydas.jasinskas@gmail.com>

world: Use <vfs/FS/...> in userland.


Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3
# 44293a80 09-May-2019 Matthew Dillon <dillon@apollo.backplane.com>

kernel - VM rework part 3 - Cleanup pass

* Cleanup various structures and code


# 9de48ead 09-May-2019 Matthew Dillon <dillon@apollo.backplane.com>

kernel - VM rework part 2 - Replace backing_object with backing_ba

* Remove the vm_object based backing_object chains and all related
chaining code.

This removes an enormous number of locks fro

kernel - VM rework part 2 - Replace backing_object with backing_ba

* Remove the vm_object based backing_object chains and all related
chaining code.

This removes an enormous number of locks from the VM system and
also removes object-to-object dependencies which requires careful
traversal code. A great deal of complex code has been removed
and replaced with far simpler code.

Ultimately the intention will be to support removal of pv_entry
tracking from vm_pages to gain lockless shared faults, but that
is far in the future. It will require hanging vm_map_backing
structures off of a list based in the object.

* Implement the vm_map_backing structure which is embedded in the
vm_map_entry and then links to additional dynamically allocated
vm_map_backing structures via entry->ba.backing_ba. This structure
contains the object and offset and essentially takes over the
functionality that object->backing_object used to have.

backing objects are now handled via vm_map_backing. In this
commit, fork operations create a fan-in tree to shared subsets
of backings via vm_map_backing. In this particular commit,
these subsets are not collapsed in any way.

* Remove all the vm_map_split and collapse code. Every last line
is gone. It will be reimplemented using vm_map_backing in a
later commit.

This means that as-of this commit both recursive forks and
parent-to-multiple-children forks cause an accumulation of
inefficient lists of backing objects to occur in the parent
and children. This will begin to get addressed in part 3.

* The code no longer releases the vm_map lock (typically shared)
across (get_pages) I/O. There are no longer any chaining locks to
get in the way (hopefully). This means that the code does not
have to re-check as carefully as it did before. However, some
complexity will have to be added back in once we begin to address
the accumulation of vm_map_backing structures.

* Paging performance improved by 30-40%

show more ...


Revision tags: v5.4.2
# a9871e48 06-Apr-2019 zrj <rimvydas.jasinskas@gmail.com>

fstat(1): Mangle dev2udev() name.

Avoid symbol conflicts with libkvm internal one.


# f12d4f44 06-Apr-2019 zrj <rimvydas.jasinskas@gmail.com>

fstat(1): Move out vm_map traversal functions to libkvm.

For ports benefit.

Suggested-by: dillon


# 4c2d301f 27-Mar-2019 Matthew Dillon <dillon@apollo.backplane.com>

world - Fix fstat and gcore

* fstat needs to iterate vm_map_entry's
via the RB tree, but it isn't entirely trivial because we
have to kread().

* gcore needs to steal a different field for its i

world - Fix fstat and gcore

* fstat needs to iterate vm_map_entry's
via the RB tree, but it isn't entirely trivial because we
have to kread().

* gcore needs to steal a different field for its iterator
when building a map from procfs.

* Fixes buildworld.

Reported-by: zrj

show more ...


# 96c6df5c 27-Mar-2019 Matthew Dillon <dillon@apollo.backplane.com>

Revert "fstat(1): Convert to RB_FOREACH() for memory maps."

This reverts commit b8459d8490f9cd3174dc62a0e1ac4bae85da83b9.

This won't work because the pointers are in kvm, will commit
a rewrite in a

Revert "fstat(1): Convert to RB_FOREACH() for memory maps."

This reverts commit b8459d8490f9cd3174dc62a0e1ac4bae85da83b9.

This won't work because the pointers are in kvm, will commit
a rewrite in a sec.

show more ...


# b8459d84 27-Mar-2019 zrj <rimvydas.jasinskas@gmail.com>

fstat(1): Convert to RB_FOREACH() for memory maps.

After 47ec0953d00a4e55498312418ed65d3aadc9cc8a kernel change.


Revision tags: v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc
# 4d2f9b07 28-Feb-2018 Sascha Wildner <saw@online.de>

fstat(1): Add hammer2 support.


Revision tags: v5.0.2, v5.0.1
# 1285ceee 16-Oct-2017 Matthew Dillon <dillon@apollo.backplane.com>

world - World build for ucred changes

* Adjust mountd and fstat kernel structure access for
changes.


Revision tags: v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.4.3
# 62e1ddd2 20-Jun-2013 Sascha Wildner <saw@online.de>

fstat(1): tmpfs support


# 80781f92 20-Jun-2013 Sascha Wildner <saw@online.de>

fstat(1): Style changes: Remove param names from protos and staticise.


# 3909f163 20-Jun-2013 Sascha Wildner <saw@online.de>

fstat(1): Put the v_type -> mode_t conversion into a separate function.


# 4dde37f7 18-Jun-2013 Antonio Huete Jimenez <tuxillo@quantumachine.net>

fstat(1) - Add support for EXT2FS filesystem.


# dd4a7b54 17-Jun-2013 Antonio Huete Jimenez <tuxillo@quantumachine.net>

fstat(1) - Add support for NTFS filesystem.


# 5387fd3e 17-Jun-2013 Antonio Huete Jimenez <tuxillo@quantumachine.net>

fstat(1) - Add support for HAMMER filesystem.

- Also use %u for printing major/minor to avoid overflows.


# dc71b7ab 31-May-2013 Justin C. Sherrill <justin@shiningsilence.com>

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

Apparently everyone's doing it:
http://svnweb.freebsd.org/base?view=revision&revision=251069

Submitted-by: "Eitan Adler" <lists at eitanadl

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

Apparently everyone's doing it:
http://svnweb.freebsd.org/base?view=revision&revision=251069

Submitted-by: "Eitan Adler" <lists at eitanadler.com>

show more ...


Revision tags: v3.4.2
# 25a2db75 06-May-2013 Justin C. Sherrill <justin@shiningsilence.com>

Remove advertising header from all userland binaries.

From: Eitan Adler <lists@eitanadler.com>


Revision tags: v3.4.1, v3.4.0, v3.4.0rc, v3.5.0
# 7078f92b 12-Jan-2013 Johannes Hofmann <johannes.hofmann@gmx.de>

merge


Revision tags: v3.2.2
# 87c7a7cf 05-Dec-2012 Sascha Wildner <saw@online.de>

Remove some unneeded semicolons across the tree.


Revision tags: v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2
# fc2c45df 18-Mar-2012 Matthew Dillon <dillon@apollo.backplane.com>

Merge branches 'hammer2' and 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly into hammer2


# 4543c499 16-Mar-2012 Sascha Wildner <saw@online.de>

fstat(1): Little fix in a cast.


123