generated from CSED421-DBS/EduBfM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEduBfM_FlushAll.c
68 lines (58 loc) · 2.75 KB
/
EduBfM_FlushAll.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/******************************************************************************/
/* */
/* ODYSSEUS/EduCOSMOS Educational-Purpose Object Storage System */
/* */
/* Developed by Professor Kyu-Young Whang et al. */
/* */
/* Database and Multimedia Laboratory */
/* */
/* Computer Science Department and */
/* Advanced Information Technology Research Center (AITrc) */
/* Korea Advanced Institute of Science and Technology (KAIST) */
/* */
/* e-mail: kywhang@cs.kaist.ac.kr */
/* phone: +82-42-350-7722 */
/* fax: +82-42-350-8380 */
/* */
/* Copyright (c) 1995-2013 by Kyu-Young Whang */
/* */
/* All rights reserved. No part of this software may be reproduced, */
/* stored in a retrieval system, or transmitted, in any form or by any */
/* means, electronic, mechanical, photocopying, recording, or otherwise, */
/* without prior written permission of the copyright owner. */
/* */
/******************************************************************************/
/*
* Module: EduBfM_FlushAll.c
*
* Description :
* Flush dirty buffers holding trains.
*
* Exports:
* Four EduBfM_FlushAll(void)
*/
#include "EduBfM_common.h"
#include "EduBfM_Internal.h"
/*@================================
* EduBfM_FlushAll()
*================================*/
/*
* Function: Four EduBfM_FlushAll(void)
*
* Description :
* (Following description is for original ODYSSEUS/COSMOS BfM.
* For ODYSSEUS/EduCOSMOS EduBfM, refer to the EduBfM project manual.)
*
* Flush dirty buffers holding trains.
* A dirty buffer is one with the dirty bit set.
*
* Returns:
* error code
*/
Four EduBfM_FlushAll(void)
{
Four e; /* error */
Two i; /* index */
Four type; /* buffer type */
return( eNOERROR );
} /* EduBfM_FlushAll() */