From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 2 Feb 2005 14:51:35 +0300 From: "Anton D. Kachalov" To: ALT Devel discussion list Subject: Re: [devel] Q: bdflush knock-out? Message-ID: <20050202115134.GC22593@lrn.ru> References: <20050131190925.GB29349@lrn.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050131190925.GB29349@lrn.ru> X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 11:51:36 -0000 Archived-At: List-Archive: List-Post: On Mon, Jan 31, 2005 at 10:09:25PM +0300, Anton D. Kachalov wrote: > А может нам уже пора выкинуть тулзу, которой уже 10 лет и которая > использовалась ещё в ядрах 1.2? для ядрa 2.4 fs/buffer.c: long sys_bdflush(int func, long data) { ... if (func == 1) { /* do_exit directly and let kupdate to do its work alone. */ do_exit(0); ... } } для ядра 2.6 /* * There are no bdflush tunables left. But distributions are * still running obsolete flush daemons, so we terminate them here. * * Use of bdflush() is deprecated and will be removed in a future kernel. * The `pdflush' kernel threads fully replace bdflush daemons and this call. */ long sys_bdflush(int func, long data) { ... if (func == 1) do_exit(0); return 0; } Т.ч. ни в 2.4, ни в 2.6 больше bdflush не нужен. Rgds, Anton