mirror of
https://github.com/schoebel/mars
synced 2025-02-26 17:40:43 +00:00
buf: fix comments
This commit is contained in:
parent
87eb7d30bb
commit
a7d23cc05e
@ -22,14 +22,12 @@
|
||||
*/
|
||||
|
||||
|
||||
// Buf brick
|
||||
|
||||
/* FIXME: this code has been unused for a long time, it is unlikly
|
||||
* to work at all.
|
||||
*/
|
||||
|
||||
//#define BRICK_DEBUGGING
|
||||
//#define MARS_DEBUGGING
|
||||
// #define BRICK_DEBUGGING
|
||||
// #define MARS_DEBUGGING
|
||||
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
@ -39,11 +37,11 @@
|
||||
|
||||
#include "mars.h"
|
||||
|
||||
//#define FAKE_IO // only for testing
|
||||
//#define FAKE_READS // only for testing
|
||||
//#define FAKE_WRITES // only for testing
|
||||
// #define FAKE_IO // only for testing
|
||||
// #define FAKE_READS // only for testing
|
||||
// #define FAKE_WRITES // only for testing
|
||||
|
||||
//#define OPTIMIZE_FULL_WRITES // does not work currently!
|
||||
// #define OPTIMIZE_FULL_WRITES // does not work currently!
|
||||
|
||||
///////////////////////// own type definitions ////////////////////////
|
||||
|
||||
@ -379,7 +377,7 @@ bool _mref_remove(struct buf_head *bf, struct buf_mref_aspect *mref_a)
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////7
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
static inline int _get_info(struct buf_brick *brick)
|
||||
@ -908,7 +906,7 @@ static void buf_ref_io(struct buf_output *output, struct mref_object *mref)
|
||||
#if 0
|
||||
// by definition, a writeout buffer is always uptodate
|
||||
bf->bf_flags |= (MREF_WRITING | MREF_UPTODATE);
|
||||
#else // wirklich???
|
||||
#else // really ???
|
||||
bf->bf_flags |= MREF_WRITING;
|
||||
#endif
|
||||
bf->bf_error = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user