[PATCH Version 7] NFSv4.1 Prepare for dynamic session slots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dynamic session slot code will respond to the server changing the
target_highest_slotid returned in the SEQUENCE operation. To respond to
a changing number of session slots, the static array implementation is
changed to an hlist hashed on slotid with 32 hash buckets.

These patches have been tested against the unchanged static array implementation
with one change: I used only 8 hash buckets so that the hlist would have more
than one entry per hash bucket.

Without the third patch which assigns the slot to be freed to a waiting task
if the slot_table_waitq is non-empy, the hlist implementation does not perform
as well as the static array.

With the third patch, the hlist impementation performs as well as the static
array version.

-->Andy

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux