Date: Wed, 13 Jun 2001 16:48:32 +0900 From: jdscol92@etri.re.kr To: freebsd-fs@freebsd.org Subject: 'b_dep' in buffer structure....?? Message-ID: <766FA1FC5C2AD511B3C800D0B7A8AC4A391283@cms3.etri.re.kr>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0F3DD.3E2EF280 Content-Type: text/plain; charset="euc-kr" HI.. I have some question about the meaning of buffer flag, "b_dep" ... There is a comment in source code(buf.h) as follows ... "List of filesystem dependencies" 1. In this comment, what does the 'filesystem dependencies' mean? 2. In the code about buffer operations, you can see 'b_dep' flag marked NOT NULL or NULL. ( b_dep!=NULL or b_dep==NULL).. What does the code, 'b_dep!=NULL or b_dep==NULL', mean? 3. Which routine is called when buffer's data is written to the disk( due to 'bwrite' or write back )?? I have found bwrite(), bdwrite(), bawrite() etc..routines, but I don't know which routine does actually write buffer's data to disk. Does 'softdep_disk_write_complete()' routine in bio_ops bioops structure write buffer's data to disk ?? Thanks in advance.... Have a good day....!! ------_=_NextPart_001_01C0F3DD.3E2EF280 Content-Type: text/html; charset="euc-kr" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Deuc-kr"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2653.12"> <TITLE>'b_dep' in buffer structure....??</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>HI..</FONT> </P> <P><FONT SIZE=3D2>I have some question about the meaning of buffer = flag, "b_dep" ...</FONT> <BR><FONT SIZE=3D2>There is a comment in source code(buf.h) as follows = ...</FONT> </P> <P><FONT SIZE=3D2>"List of filesystem dependencies"</FONT> </P> <P><FONT SIZE=3D2>1. In this comment, what does the 'filesystem = dependencies' mean?</FONT> </P> <P><FONT SIZE=3D2>2. In the code about buffer operations, you can see = 'b_dep' flag marked NOT NULL or NULL.</FONT> <BR> <FONT SIZE=3D2>( = b_dep!=3DNULL or b_dep=3D=3DNULL)..</FONT> </P> <P> <FONT SIZE=3D2> What = does the code, 'b_dep!=3DNULL or b_dep=3D=3DNULL', = mean?</FONT> </P> <P><FONT SIZE=3D2>3. Which routine is called when buffer's data is = written to the disk( due to 'bwrite' or write back )??</FONT> <BR> <FONT SIZE=3D2>I have = found bwrite(), bdwrite(), bawrite() etc..routines, </FONT> <BR> <FONT SIZE=3D2>but I = don't know which routine does actually write buffer's data to = disk.</FONT> <BR> <FONT SIZE=3D2>Does = 'softdep_disk_write_complete()' routine in bio_ops bioops structure = write buffer's data to disk ??</FONT> </P> <P><FONT SIZE=3D2>Thanks in advance....</FONT> <BR><FONT SIZE=3D2>Have a good day....!!</FONT> </P> </BODY> </HTML> ------_=_NextPart_001_01C0F3DD.3E2EF280-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?766FA1FC5C2AD511B3C800D0B7A8AC4A391283>