(12) United States Patent ao) Patent No.: us 6,665,747 Bi
Nazari (45) Date of Patent: Dec. 16,2003
(54) METHOD AND APPARATUS FOR
INTERFACING WITH A SECONDARY
(75) Inventor: Siamak Nazari, Arcadia, CA (US)
(73) Assignee: Sun Microsystems, Inc., Santa Clara, CA (US)
Harty, Kieran and Cheriton, David, Application-Controlled Physical Memory using External Page-Cache Management, 1992, pp. 187-197.*
* cited by examiner
( * ) Notice: Subject to any disclaimer, the term ol this patent is extended or adjusted under 35 U.S.C. 154(b) by 547 days.
(21) Appl. No.: 09/686,110
(22) Filed: Oct. 10, 2000
Related U.S. Application Data
(60) Provisional application No. 60/160,957, filed on Oct. 22, 1999.
(51) Int. CI.7 G06F 13/00
(52) U.S. CI 710/22; 711/138; 711/112
(58) Field of Search 710/22; 711/138,
(56) References Cited
U.S. PATENT DOCUMENTS
5,247,639 A * 9/1993 Yamahata 711/138
5,287,473 A * 2/1994 Mohan et al 711/133
5,461,721 A * 10/1995 Cormier et al 711/2
5,548,740 A * 8/1996 Kiyohara 345/543
FOREIGN PATENT DOCUMENTS
JP 09073412 * 3/1997 G06F/12/02
Publication, entitled "Application-Controlled Physical Memory using External Page-Cache Management," by Kieran Harty, et al., Sep. 27, 1992, No. 9, New York, pp.
One embodiment of the present invention provides a system for processing a request directed to a secondary storage system. The system operates by receiving the request at an interface of the secondary storage system. This request specifies an operation to be performed on the secondary storage system, a location within the secondary storage system to which the request is directed, and an address of a target buffer located outside of the secondary storage system for holding data involved in the request. Next, the system processes the request by transferring data between the location within the secondary storage system and the target buffer located outside of the secondary storage system. If the target buffer is located within a page cache, processing the request involves communicating with the target buffer located within the page cache. If the target buffer is located within a user space of an application, processing the request involves communicating with the target buffer located within the user space without passing through the page cache.
28 Claims, 3 Drawing Sheets