From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3E48B66E.6050308@altlinux.com> Date: Tue, 11 Feb 2003 11:38:06 +0300 From: AntonFarygin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030115 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: sisyphus@altlinux.ru Subject: Re: [sisyphus] smbfs locking in 2.4.20 References: <20030211005549.5cb3618f.grisxa@mail.ru> In-Reply-To: <20030211005549.5cb3618f.grisxa@mail.ru> X-Enigmail-Version: 0.70.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2B66B5B37262B90A4AAF9808" Content-Transfer-Encoding: 8bit Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2B66B5B37262B90A4AAF9808 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Grigory Batalov пишет: > Bart Oldeman из Dosemu Team обнаружил, что в ядре 2.4.20 >отсутствует блокировка файлов на smbfs. Скорее всего, >он тестировал "чистое" ядро или от Алана Кокса. > > А как обстоят дела в нашем 2.4.20-alt2/altX ? >Если у нас есть walkaround, нельзя ли его присоветовать >коллегам из Dosemu ? > К сожалению, у нас наложены патчи с этого самого нижнего URL'а ;-( Rgds, Rider > > >Begin forwarded message: > >Date: Mon, 10 Feb 2003 16:28:18 -0500 (EST) >From: Bart Oldeman >To: Gregor Ibic >Subject: WARNING: smbfs and locking (was RE: [PATCH] (locking) (was Re: dosemu and CLIPPER locks (again)))) > > >On Mon, 10 Feb 2003, Gregor Ibic wrote: > > > >>I cant, it is locked. It says resource deadlock avoided. >> >> > >ok I browsed around a bit and looked at the kernel source, here's the real >answer. > >Current (linux kernel 2.4.20) smbfs doesn't support locking at all. > >you may look at >http://www.hojdpunkten.ac.se/054/samba >to see some experimental patches though. >NFS *does* support locking though. > >So if you see locking "working" with smbfs it is actually by accident and >not by design. > >This means that it is very well possible to corrupt your DOS databases >if you access them via smbfs, and there's nothing that DOSEMU can do about >it. > >Now, why does a Win client access the file when DOSEMU "locks" it? This is >because there actually is no lock at all! > >And the other way around, what happens is that: DOSEMU tries to apply a >lock to the file, the filesystem fails, and the DOS app hence claims that >access is denied. > >Bart > > > --------------enig2B66B5B37262B90A4AAF9808 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+SLZuqohfd2vlwKsRAkRzAJ9VONhfnhsPPN/mBvi82ctpsPeROgCfVtrj fdwsynGE4GpX1ElOemfFlrg= =1BSb -----END PGP SIGNATURE----- --------------enig2B66B5B37262B90A4AAF9808--