History log of /netbsd-src/sys/fs/udf/udf_allocation.c (Results 1 – 25 of 48)
Revision Date Author Comments
# a314b8f3 05-Jan-2025 andvar <andvar@NetBSD.org>

fix various typos in comments.


# f42f89fd 22-May-2022 andvar <andvar@NetBSD.org>

fix various small typos, mainly in comments.


# 3eb3a2d0 03-Feb-2022 reinoud <reinoud@NetBSD.org>

Revere modification of initializer; it can lead to race conditions where two
allocation would pick the `empty' space causing a panic later on.


# a23f7dc3 28-Jan-2022 reinoud <reinoud@NetBSD.org>

On freeing a virtual address in the VAT, use the correct value; this might
confuse other implementations who can reject the VAT on this.


# f9faf20a 03-Sep-2021 andvar <andvar@NetBSD.org>

fix typos in comments, mainly s/extention/extension/ and s/sufficent/sufficient/


# ca765360 20-Aug-2021 andvar <andvar@NetBSD.org>

fix various typos in comments and log messages.


# 7991f5a7 24-Jul-2021 andvar <andvar@NetBSD.org>

Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files

Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.

show more ...


# f5ad84fd 23-Apr-2020 ad <ad@NetBSD.org>

PR kern/54759 (vm.ubc_direct deadlock when read()/write() into mapping of itself)

- Add new flag UBC_ISMAPPED which tells ubc_uiomove() the object is mmap()ed
somewhere. Use it to decide whether

PR kern/54759 (vm.ubc_direct deadlock when read()/write() into mapping of itself)

- Add new flag UBC_ISMAPPED which tells ubc_uiomove() the object is mmap()ed
somewhere. Use it to decide whether to do direct-mapped copy, rather than
poking around directly in the vnode in ubc_uiomove(), which is ugly and
doesn't work for tmpfs. It would be nicer to contain all this in UVM but
the filesystem provides the needed locking here (VV_MAPPED) and to
reinvent that would suck more.

- Rename UBC_UNMAP_FLAG() to UBC_VNODE_FLAGS(). Pass in UBC_ISMAPPED where
appropriate.

show more ...


# bcc384fd 14-Oct-2018 jdolecek <jdolecek@NetBSD.org>

remove M_CANFAIL flag for malloc(9) - it was completely ignored, so had
actually no effect


# 4faed551 04-Jan-2017 christos <christos@NetBSD.org>

PR/51777: David Binderman: Remove unused computation


# 09f7c277 24-Aug-2015 hannken <hannken@NetBSD.org>

Remove dirtynodes_cv, it is only used for timed waits without any signals.

Replace the cv_timedwait with kpause.


# a2b485ee 03-Dec-2014 reinoud <reinoud@NetBSD.org>

Relax the KASSERT since an equal size is no issue


# 4cf2909a 30-Oct-2013 mrg <mrg@NetBSD.org>

used __diagused where appropriate.


# 91b2f42c 18-Oct-2013 christos <christos@NetBSD.org>

fix unused variable warnings


# 550f8483 09-Aug-2013 reinoud <reinoud@NetBSD.org>

Fix 32 bit issue in main file read-in function. On both 32 bit and 64 bit
hosts a missing cast would result in `garbage' after the 4Gbyte limit.


# d0b95300 03-Jul-2013 reinoud <reinoud@NetBSD.org>

On growing a node that was recorded inside the (E)FE, don't forget to set the
size of the node to the NEW size. This was reported by the `t_io
udf_shrinkfile' testcase.

Fixes PR kern/47985


# d296304e 16-Jun-2011 hannken <hannken@NetBSD.org>

Rename uvm_vnp_zerorange(struct vnode *, off_t, size_t) to
ubc_zerorange(struct uvm_object *, off_t, size_t, int) changing
the first argument to an uvm_object and adding a flags argument.

Modify tmp

Rename uvm_vnp_zerorange(struct vnode *, off_t, size_t) to
ubc_zerorange(struct uvm_object *, off_t, size_t, int) changing
the first argument to an uvm_object and adding a flags argument.

Modify tmpfs_reg_resize() to zero the backing store (aobj) instead
of the vnode. Ubc_purge() no longer panics when unmounting tmpfs.

Keep uvm_vnp_zerorange() until the next kernel version bump.

show more ...


# 20846619 14-Jan-2011 reinoud <reinoud@NetBSD.org>

Metadata partition (v2.50+) bugfix commit :

* fix copying of the extents of the metadata node to the metadatamirror node;
it was not copying all extents.

* fix truncing metadata partition:
* f

Metadata partition (v2.50+) bugfix commit :

* fix copying of the extents of the metadata node to the metadatamirror node;
it was not copying all extents.

* fix truncing metadata partition:
* fix endian conversions
* fix information length calculation so its truncated to the right length!

* allow for setting maximum extent length in extent merging. This is needed
since extents in the metadata partition files are only to be in allocation
unit sizes.

* adjust grow and shrink node to set the granularity of the maximum length of
an extent when encountering a metadatafile or metadatamirror file.

show more ...


# 3e8c5745 22-Dec-2010 reinoud <reinoud@NetBSD.org>

Growing the metadata partition is not yet implemented. Be so kind to report
this as unimplemented when the debug flag asks for it!


# 28b2fc3a 26-Feb-2010 reinoud <reinoud@NetBSD.org>

Typo and style


# 1196d96d 25-Feb-2010 reinoud <reinoud@NetBSD.org>

First part of shrinking/growing metadata partition support:

- extending the metadata partition

Still to follow:
- sparsify metadata partition
- growing the metadata partition
- unsparsifying metada

First part of shrinking/growing metadata partition support:

- extending the metadata partition

Still to follow:
- sparsify metadata partition
- growing the metadata partition
- unsparsifying metadata partition

show more ...


# 7e99247b 27-Jun-2009 reinoud <reinoud@NetBSD.org>

Fix corner-case in truncing files. It could forget to free the last block.
This would result in a free-space map with one block orphaned.


# 706de0e5 24-Jun-2009 reinoud <reinoud@NetBSD.org>

Commit first stage of free-space accounting. It is estimating the underlimit
of free blocks on the device and when free blocks are getting tight it tries
to readjust/recalculate that value by syncing

Commit first stage of free-space accounting. It is estimating the underlimit
of free blocks on the device and when free blocks are getting tight it tries
to readjust/recalculate that value by syncing the FS.

Second stage will be resizing the data/metadata partitions.

show more ...


# 9cf321eb 18-Jun-2009 reinoud <reinoud@NetBSD.org>

Fix nitpicky spacing and debug printout


# 66e7de7a 18-Jun-2009 reinoud <reinoud@NetBSD.org>

Remove unneeded (and unused) inclusion of "opt_quota.h"


12