freebsd-skq/sys/netsmb
Attilio Rao 7fbfba7bf8 - Handle buffer lock waiters count directly in the buffer cache instead
than rely on the lockmgr support [1]:
  * bump the waiters only if the interlock is held
  * let brelvp() return the waiters count
  * rely on brelvp() instead than BUF_LOCKWAITERS() in order to check
    for the waiters number
- Remove a namespace pollution introduced recently with lockmgr.h
  including lock.h by including lock.h directly in the consumers and
  making it mandatory for using lockmgr.
- Modify flags accepted by lockinit():
  * introduce LK_NOPROFILE which disables lock profiling for the
    specified lockmgr
  * introduce LK_QUIET which disables ktr tracing for the specified
    lockmgr [2]
  * disallow LK_SLEEPFAIL and LK_NOWAIT to be passed there so that it
    can only be used on a per-instance basis
- Remove BUF_LOCKWAITERS() and lockwaiters() as they are no longer
  used

This patch breaks KPI so __FreBSD_version will be bumped and manpages
updated by further commits. Additively, 'struct buf' changes results in
a disturbed ABI also.

[2] Really, currently there is no ktr tracing in the lockmgr, but it
will be added soon.

[1] Submitted by:	kib
Tested by:	pho, Andrea Barberio <insomniac at slackware dot it>
2008-03-01 19:47:50 +00:00
..
netbios.h Allow user to override default port numbers used by communication 2005-10-02 08:32:49 +00:00
smb_conn.c Axe the 'thread' argument from VOP_ISLOCKED() and lockstatus() as it is 2008-02-25 18:45:57 +00:00
smb_conn.h - Handle buffer lock waiters count directly in the buffer cache instead 2008-03-01 19:47:50 +00:00
smb_crypt.c Fix misalignment bugs caused by invalid type casts of pointers 2006-08-22 03:05:51 +00:00
smb_dev.c Fixing the mount_smbfs(8) hanging by utilising the destroy_dev_sched() KPI. 2007-07-10 09:23:10 +00:00
smb_dev.h
smb_iod.c Remove a spourious Giant acquisition. 2008-02-25 21:09:16 +00:00
smb_rq.c Fix misalignment bugs caused by invalid type casts of pointers 2006-08-22 03:05:51 +00:00
smb_rq.h Fix misalignment bugs caused by invalid type casts of pointers 2006-08-22 03:05:51 +00:00
smb_smb.c Initialize some variables that GCC4.2 thinks might possibly be used without 2007-06-15 23:49:54 +00:00
smb_subr.c It seems to be safe to ignore 'file not locked' error 2006-11-05 06:31:08 +00:00
smb_subr.h Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
smb_tran.h
smb_trantcp.c Refactor select to reduce contention and hide internal implementation 2007-12-16 06:21:20 +00:00
smb_trantcp.h
smb_usr.c
smb.h