Re: [PATCH 11/7] Kill REQ_TYPE_FLUSH

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Geert Uytterhoeven
Date: Wednesday, August 13, 2008 - 4:58 am

On Wed, 13 Aug 2008, David Woodhouse wrote:

I used REQ_TYPE_FLUSH after discussing with the block experts.

Note that REQ_LB_OP_FLUSH is also never used. Actually its definition in
include/linux/blkdev.h has:

| enum {
| 	/*
| 	 * just examples for now
           ^^^^^^^^^^^^^^^^^^^^^
| 	 */
| 	REQ_LB_OP_EJECT	= 0x40,		/* eject request */
| 	REQ_LB_OP_FLUSH = 0x41,		/* flush device */
| };

which makes me a bit reluctant to make this change.

BTW, how to test all this flushing behavior, if there are no real users?


With kind regards,

Geert Uytterhoeven
Software Architect

Sony Techsoft Centre Europe
The Corporate Village
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 11/7] Kill REQ_TYPE_FLUSH, Geert Uytterhoeven, (Wed Aug 13, 4:58 am)
Re: [PATCH 11/7] Kill REQ_TYPE_FLUSH, David Woodhouse, (Wed Aug 13, 5:43 am)