From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: devel@altlinux.ru
Subject: Re: [devel] I: XFS current situation
Date: Fri, 29 Mar 2002 12:06:42 +0200
Message-ID: <20020329100642.GE20239@sam-solutions.net> (raw)
In-Reply-To: <20020329123057.0112b51c.goldhead@altlinux.ru>
On Fri, Mar 29, 2002 at 12:30:57PM +0300, Konstantin Volckov wrote:
> On Fri, 29 Mar 2002 11:22:32 +0200
> Alexander Bokovoy <a.bokovoy@sam-solutions.net> wrote:
>
> > On Fri, Mar 29, 2002 at 12:05:47PM +0300, Konstantin Volckov wrote:
>
> Hi!
>
> > > > Забыл:
> > > >
> > > > 3. Текущая версия XFS имеет проблемы с mmap() и, соответственно,
> > > > приложениями, которые используют эту функцию. Требуется пересборка
> > > > приложений без нее. Разработчики пытаются проблему решить, но пока
> > > > продвижения нет.
> > >
> > > Так я же зафиксил эту проблему и отправил им патч - ответа до сих пор
> > > нет...
> > Напомни название патча в нашем ядре, я сегодня буду разговаривать со
> > Стивом Лордом.
> Патч приложен.
Эта функция переписана с нуля:
STATIC int
linvfs_write_full_page(
struct page *page)
{
int flagset = 0;
int error;
struct vnode *vp;
struct inode *inode;
if ((current->flags & PF_FSTRANS) && DelallocPage(page))
goto out_fail;
if ((current->flags & (PF_FSTRANS|PF_NOIO)) &&
(!page->buffers || buffer_delay(page->buffers)))
goto out_fail;
if (!page->buffers || buffer_delay(page->buffers)) {
current->flags |= PF_NOIO;
flagset = 1;
}
inode = page->mapping->host;
vp = LINVFS_GET_VP(inode);
VOP_WRITE_FULL_PAGE(vp, page, error);
if (flagset)
current->flags &= ~PF_NOIO;
return error;
out_fail:
SetPageDirty(page);
UnlockPage(page);
return 0;
}
--
/ Alexander Bokovoy
Software architect and analyst // SaM-Solutions Ltd.
---
People respond to people who respond.
prev parent reply other threads:[~2002-03-29 10:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-28 18:46 Alexander Bokovoy
2002-03-28 19:05 ` Alexander Bokovoy
2002-03-29 9:05 ` Konstantin Volckov
2002-03-29 9:22 ` Alexander Bokovoy
2002-03-29 9:30 ` Konstantin Volckov
2002-03-29 10:06 ` Alexander Bokovoy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020329100642.GE20239@sam-solutions.net \
--to=a.bokovoy@sam-solutions.net \
--cc=devel@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git