Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: user/thompsa/v…
Commits on Jan 21, 2009
  1. @thompsa
  2. @thompsa

    MFH r186399-187536

    thompsa authored
  3. @kostikbel

    Move the code from ufs_lookup.c used to do dotdot lookup, into

    kostikbel authored
    the helper function. It is supposed to be useful for any filesystem
    that has to unlock dvp to walk to the ".." entry in lookup routine.
    
    Requested by:	jhb
    Tested by:	pho
    MFC after:	1 month
  4. @bsdjhb

    Now that vfs_markatime() no longer requires an exclusive lock due to

    bsdjhb authored
    the VOP_MARKATIME() changes, use a shared vnode lock for mmap().
    
    Submitted by:	ups
  5. @bsdjhb

    Move the VA_MARKATIME flag for VOP_SETATTR() out into its own VOP:

    bsdjhb authored
    VOP_MARKATIME() since unlike the rest of VOP_SETATTR(), VA_MARKATIME
    can be performed while holding a shared vnode lock (the same functionality
    is done internally by VOP_READ which can run with a shared vnode lock).
    Add missing locking of the vnode interlock to the ufs implementation and
    remove a special note and test from the NFS client about not supporting the
    feature.
    
    Inspired by:	ups
    Tested by:	pho
  6. @amotin
  7. @bsdphk
  8. @kientzle

    Merge-from-Googlecode r419

    kientzle authored
    In archive_write_disk:  If archive_write_header() fails to create
    the file, that's a failure and should return ARCHIVE_FAILED.
    Metadata restore failures still return ARCHIVE_WARN, because
    that's non-critical.  Fix test_write_disk_secure test to
    verify the correct return code in one case; add test_write_disk_failures
    to do another very simple test of restore failure.
    
    This should fix cpio coredumping when it tries to restore to
    a write-protected directory.
    
    Thanks to: Giorgos Keramidas
    MFC after: 30 days
  9. @thompsa

    Add functions WITNESS so it can be asserted that the lock is not rele…

    thompsa authored
    …ased for a
    
    section of code, this uses WITNESS_NORELEASE() and WITNESS_RELEASEOK() to mark
    the boundaries. Both functions require the lock to be held when calling.
    
    This is intended for scenarios like a bus asserting that the bus lock is not
    dropped during a driver call. There doesn't appear to be a man page to
    document this in.
    
    Reviewed by:	jhb
  10. correct typo that left programmed sifs time in the slot time

    sam authored
    (to be applied on subsequent resets)
    
    Submitted by:	Jiri Fojtasek <jiri.fojtasek@hlohovec.net>
Commits on Jan 20, 2009
  1. Fix typo in comment

    emax authored
    Pointed out by:	Daan Vreeken / Daan at vehosting dot nl
  2. @delphij

    Rename option 'C' to 'D' (damaged) in order to avoid a conflict with …

    delphij authored
    …upcoming
    
    Juniper 'C' (clean) flag.
    
    Requested by:	obrien
    MFC after:	1 week
  3. @amotin

    Check for infinite recursion possible on some broken PPTP/L2TP/... VP…

    amotin authored
    …N setups.
    
    Mark packets with mbuf_tag on first interface passage and drop on second.
    
    PR:		ports/129625, ports/125303,
    MFC after:	2 weeks
  4. Update (well, actually rewrite mostly) ng_ubt2 driver for USB2.

    emax authored
    Reviewed by:	HPS, alfred
    Blessed by:	HPS
  5. @kostikbel

    The r187467 should remove all pages for V_NORMAL case too, because

    kostikbel authored
    indirect block pages are not removed by the mentioned invocation of
    the vnode_pager_setsize().
    
    Put a common code into the helper function ffs_pages_remove().
    
    Reported and tested by:	dchagin
    Reviewed by:	ups
    MFC after:	3 weeks
  6. @thompsa
  7. @juikim

    - Add support for 8110SCe part. Some magic registers were taken from

    juikim authored
    Linux driver.
    - Swap hardware revisions for 8110S and 8169S as Linux driver claims.
    
    Reviewed by:	yongari (early version)
  8. @juikim
  9. @juikim

    - Do not read and write RX configuration register multiple times.

    juikim authored
    - Always program RX configuration register from scratch instead of
    doing read/modify/write.
    - Rename re_setmulti() to re_set_rxmode() to be reflect reality.
    - Simplify hash filter logic a little while I am here.
    
    Reviewed by:	yongari (early version)
  10. Fix a number of (innocuous) warnings, and remove a useless test.

    luigi authored
    There are still several signed/unsigned warnings left, which
    require a bit more study for a proper fix.
    
    This file has grown beyond reasonable limits.
    
    We really need to split it into separate components (ipv4, ipv6,
    dummynet, nat, table, userland-kernel communication ...) so we can
    make mainteinance easier.
    
    MFC after:	1 weeks
  11. @amotin

    Implement MMCBR_IVAR_CAPS. It should better be implemented, or results

    amotin authored
    can be unpredictable.
    
    PR:		arm/128987
  12. @rdivacky

    Remove inlining of functions that are used mostly in different object…

    rdivacky authored
    … files.
    
    This gets rid of gnu89 style inlining. Also silence gcc by assigning two
    variables NULL. This lets use to remove NO_WERROR.
    
    Approved by:	kib (mentor)
    Approved by:	harti
  13. @bsdjhb

    Add a comment explaining why the "bufwait" / "dirhash" LOR reported by

    bsdjhb authored
    WITNESS will not actually result in a deadlock.
    
    Discussed with:	kib
    MFC after:	1 week
  14. Fix a race condition in kiic(4) made possible by the way the device's…

    nwhitehorn authored
    … STOP
    
    condition is sent. We used to put the bus in the STOP state, but returned
    without waiting for that to actually occur.
    
    Submitted by:	Marco Trillo
  15. Set the wrong softc size when defining the ofw_iicbus class. Change i…

    nwhitehorn authored
    …t to
    
    the correct value.
  16. - Permit timestamps to be as far as 2048 ticks apart before we complain

    jeff authored
       about invalid timestamps.  Nehalem CPUs seem to be synchronized but only
       within a fraction of a microsecond.
     - Make the Counter code more flexible to poor timestamps.  In general we
       now complain a lot but render as much as we can.
     - Change the scaler behavior so it works better with very long and very
       short traces.  We now set the maximum scale such that it properly
       displays the entire file by default and doesn't permit zooming out
       beyond the file.  This improves other awkward navigation behavior.
       The interval is now set very small which can't be achieved by simply
       dragging the mouse.  Clicking to the left of or right of the scaler bar
       will produce increments of a single, very small, interval now.
    
    Sponsored by:   Nokia
  17. @kostikbel

    The context switch to the 32bit binary does not properly restore

    kostikbel authored
    the fsbase value. The switch loads the fs segment register, that
    invalidates the value in fsbase msr, thus value in %r9 can not be
    considered the current value for fsbase anymore.
    
    Unconditionally reload fsbase when switching to 32bit binary.
    
    PR:	130526
    MFC after:	3 weeks
  18. @EdSchouten

    Properly implement the VT100 SCS sequences in xterm-mode.

    EdSchouten authored
    Even though VT100-like devices can display non-ASCII characters, they do
    not use an 8-bit character set. Special escape sequences allow the VT100
    to switch character maps. The special graphics character set stores the
    box drawing characters, starting at 0x60, ending at 0x7e. This means
    we now pass the character map tests in vttest, even the save/restore
    cursor test, combined with character maps. dialog(1) also works a lot
    better now.
    
    This commit also includes some other minor fixes:
    
    - Default to 24 lines in teken_demo when using xterm emulation.
    - Make white foreground and background work in teken_demo.
  19. @kostikbel

    When extending inode size, we call vnode_pager_setsize(), to have a

    kostikbel authored
    address space where to put vnode pages, and then call UFS_BALLOC(),
    to actually allocate new block and map it. When UFS_BALLOC() returns
    error, sometimes we forget to revert the vm object size increase,
    allowing for the pages that are not backed by the logical disk blocks.
    
    Revert vnode_pager_setsize() back when UFS_BALLOC() failed, for
    ffs_truncate() and ffs_write().
    
    PR:	129956
    Reviewed by:	ups
    MFC after:	3 weeks
  20. @kostikbel

    FFS puts the extended attributes blocks at the negative blocks for the

    kostikbel authored
    vnode, from -1 down. When vinvalbuf(vp, V_ALT) is done for the vnode, it
    incorrectly does vm_object_page_remove(0, 0), removing all pages from
    the underlying vm object, not only the pages that back the extended
    attributes data.
    
    Change vinvalbuf() to not remove any pages from the object when
    V_NORMAL or V_ALT are specified. Instead, the only in-tree caller
    in ffs_inode.c:ffs_truncate() that specifies V_ALT explicitely
    removes the corresponding page range. The V_NORMAL caller
    does vnode_pager_setsize(vp, 0) immediately after the call to
    vinvalbuf(V_NORMAL) already.
    
    Reported by:	csjp
    Reviewed by:	ups
    MFC after:	3 weeks
  21. Add a limit on namecache entries.

    mckay authored
    In normal operation, the number of cache entries is roughly equal to the
    number of active vnodes.  However, when most of the recently accessed
    vnodes have many hard links, the number of cache entries can be 32000
    times as large, exhausting kernel memory and provoking a panic in
    kmem_malloc().
    
    MFC after: 2 weeks
  22. Tone down warning about the quality of the NTFS VFS module. It appear…

    sobomax authored
    …s that
    
    not all developers share luigi opinion about quality of sysutils/fusefs-ntfs
    compared to our kernel NTFS module.
  23. Change the probe priority for PCI and I2C generic bus modules from

    nwhitehorn authored
    numerical constants to BUS_PROBE_GENERIC.
    
    Suggested by:	jhb
Commits on Jan 19, 2009
  1. Properly return error code to the caller. This should fix the following

    emax authored
    panic in ng_l2cap(4).
    
    panic: ng_l2cap_l2ca_con_req: ubt0l2cap - could not find connection!
    
    While i'm here get rid of few goto's.
    
    MFC after:	1 week
Something went wrong with that request. Please try again.