FreeBSD/src 821df4b (r342063)sys/dev/mrsas mrsas_cam.c mrsas.c

Detect sequential Write IOs and pass the hint that it is part of sequential
stream to help HBA Firmware do the Full Stripe Writes. For read IOs on
certain RAID volumes like Read Ahead volumes,this will help driver to
send it to Firmware even if the IOs can potentially be sent to
hardware directly (called fast path) bypassing firmware.

Design: 8 streams are maintained per RAID volume as per the combined
firmware/driver design. When there is no stream detected the LRU stream
is used for next potential stream and LRU/MRU map is updated to make this
as MRU stream. Every time a stream is detected the MRU map
is updated to make the current stream as MRU stream.

Submitted by: Sumit Saxena <sumit.saxena at broadcom.com>
Reviewed by:  Kashyap Desai <Kashyap.Desai at broadcom.com>
Approved by:  ken
MFC after:  3 days
Sponsored by:   Broadcom Inc
DeltaFile
+73-0sys/dev/mrsas/mrsas_cam.c
+48-1sys/dev/mrsas/mrsas.c
+35-1sys/dev/mrsas/mrsas.h
+3-0sys/dev/mrsas/mrsas_fp.c
+159-24 files

UnifiedSplitRaw