Whamcloud - gitweb
Fix for many-clients-and-server-on-same-node deadlock. One server task
authoradilger <adilger>
Fri, 8 Nov 2002 19:02:41 +0000 (19:02 +0000)
committeradilger <adilger>
Fri, 8 Nov 2002 19:02:41 +0000 (19:02 +0000)
commitf2d79551356d94bba9f9182d4e47ffcf34c3d19a
treeb8ff67ac38124cddda56c6ed4db8f1aaf0ff565f
parent04f7caacf9b80e422b58b9466ddf1fecd0e7aae8
Fix for many-clients-and-server-on-same-node deadlock.  One server task
can go "in the hole" for at most one maximum-sized request, to avoid
deadlocking when the clients have consumed all of the kmapping reservations.

The server can then complete the request and both the server and client will
release their reservations, allowing further progress to be made.
lustre/include/linux/obd_support.h
lustre/obdclass/class_obd.c
lustre/obdecho/echo.c
lustre/obdfilter/filter.c
lustre/osc/osc_request.c