Re: [PATCH] connector: fix unsafe usage of ->real_parent

2019-03-06 Thread Evgeniy Polyakov
ector: add parent pid and tgid to coredump and > exit events") > Signed-off-by: Zhang Yu > Signed-off-by: Li RongQing Looks good to me, thank you! Acked-by: Evgeniy Polyakov > --- >  drivers/connector/cn_proc.c | 22 ++ >  1 file changed, 18 insertio

Re: [PATCH] connector: add parent pid and tgid to coredump and exit events

2018-04-30 Thread Evgeniy Polyakov
ntly, so it looks safe. David, please pull it into your tree, or should it go via different path? Acked-by: Evgeniy Polyakov >>  I don't see how it breaks UAPI. The point is that structures >>  coredump_proc_event and exit_proc_event are members of *union* >>  event_da

Re: [RFC] connector: add group_exit_code and signal_flags fields to exit_proc_event

2018-04-08 Thread Evgeniy Polyakov
Hi everyone Sorry for that late reply 01.03.2018, 21:58, "Stefan Strogin" : > So I was thinking to add these two fields to union event_data: > task->signal->group_exit_code > task->signal->flags > This won't increase size of struct proc_event (because of comm_proc_event) > and shouldn't break bac

Re: [PATCH] connector: Delete an error message for a failed memory allocation in cn_queue_alloc_callback_entry()

2017-09-05 Thread Evgeniy Polyakov
ned-off-by: Markus Elfring Looks good to me, thanks Markus. There is virtually zero useful information in this print if we are in the situation, when kernel can not allocate a few bytes to run connector queue. Acked-by: Evgeniy Polyakov kernel-janitors@ please queue this patch up > --

Re: [PATCH] [RFC] proc connector: add namespace events

2016-09-12 Thread Evgeniy Polyakov
Hi everyone 08.09.2016, 18:39, "Alban Crequy" : > The act of a process creating or joining a namespace via clone(), > unshare() or setns() is a useful signal for monitoring applications. > + if (old_ns->mnt_ns != new_ns->mnt_ns) > + proc_ns_connector(tsk, CLONE_NEWNS, PROC_NM_REASON_CLONE, old_mn

Re: [PATCH] connector: fix out-of-order cn_proc netlink message delivery

2016-06-28 Thread Evgeniy Polyakov
Hi Aaron 24.06.2016, 16:07, "Aaron Campbell" : > The proc connector messages include a sequence number, allowing userspace > programs to detect lost messages. However, performing this detection is > currently more difficult than necessary, since netlink messages can be > delivered to the applicati

Re: [PATCH 1/2] connector: add cgroup release event report to proc connector

2015-06-11 Thread Evgeniy Polyakov
Hi 28.05.2015, 11:54, "Dimitri John Ledkov" : > What you are saying is that we have inefficient notification mechanism > that hammers everyone's boot time significantly, and no current path > to resolve it. What can I do get us efficient cgroup release > notifications soon? > This patch-set is a

Re: [PATCH] cn_proc: Flag termination of the last thread in the process

2015-06-11 Thread Evgeniy Polyakov
Hi Sergei 29.05.2015, 22:50, "Sergei Zhirikov" : > There is no easy and reliable way for userspace to get notified > of a process termination. The process connector sends out "exit" > events upon termination of each thread, but it is not trivial for > userspace to tell whether the just-terminated

Re: [PATCH] Add IPv6 support to TCP SYN cookies

2008-02-06 Thread Evgeniy Polyakov
quest hash tables too, so that we could allocate per hash-bucket space and use it as a scratchpad for cookies. > --Glenn -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] Add IPv6 support to TCP SYN cookies

2008-02-06 Thread Evgeniy Polyakov
huge buffer should not be allocated on stack. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] Add IPv6 support to TCP SYN cookies

2008-02-05 Thread Evgeniy Polyakov
ws don't matter for > most normal users, especially on mobile devices). SACK is actually a good idea for mobile devices, so preventing syncookies from not getting into account some options (btw, does it work with timestamps and PAWS?) is not a solution. -- Evgeniy Polyakov -- To unsubsc

Re: [PATCH] Add IPv6 support to TCP SYN cookies

2008-02-05 Thread Evgeniy Polyakov
s setup during handshake. > > TCP only uses options negotiated during the hand shake and syncookies > is incapable to do this. What about fixing the implementation, so that it could get into account different options too? > -Andi -- Evgeniy Polyakov -- To unsubscribe from this l

Re: [PATCH] Add IPv6 support to TCP SYN cookies

2008-02-05 Thread Evgeniy Polyakov
rom growing? Most (if not all) distributions have them enabled and window growing works just fine. Actually I do not see any reason why connection establishment handshake should prevent any run-time operations at all, even if it was setup during handshake. -- Evgeniy Polyakov -- To unsubsc

Re: [1/2] POHMELFS - network filesystem with local coherent cache.

2008-01-31 Thread Evgeniy Polyakov
r each different node, so that after client asks for data it would be just sent to different server. This allows to make parallel transactions. Essentially it looks like mounting different remote server to virtual directory working with it, except that connection setup should be done not at mount time, but at run time. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[2/2] POHMELFS: hack to disable writeback.

2008-01-31 Thread Evgeniy Polyakov
, which can be matched to filesystem path, so that remote side could create objects without _any_ knowledge of inode numbers on the local fs. Crappy-stuff-created-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/fs/pohmelfs/dir.c b/fs/pohmelfs/dir.c index 23f9ecd..5aec593 100644 --

[1/2] POHMELFS - network filesystem with local coherent cache.

2008-01-31 Thread Evgeniy Polyakov
coherent with other users * unified method of syncing with various remote filesystems Thank you. P.S. POHMELFS is about one month old, so do not be so severe with it :) Crappy-stuff-created-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/fs/Kconfig b/fs/Kconfig index f9eed6d..c40f2c5

Re: 2.6.24-rc8 ppp regression

2008-01-23 Thread Evgeniy Polyakov
er_netdevice: waiting for ppp0 to become > free. Usage count = 1 > > 2.6.24-rc7 works fine, not yet bisected, will do later in the evening. Fix (revert) is in Dave's tree already. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe netd

[2/4] DST: Core distributed storage files.

2008-01-22 Thread Evgeniy Polyakov
Core distributed storage files. Include userspace interfaces, initialization, block layer bindings and other core functionality. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index b4c8319..ca6592d 100644 --- a/drivers

[1/4] DST: Distributed storage documentation.

2008-01-22 Thread Evgeniy Polyakov
Distributed storage documentation. Algorithms used in the system, userspace interfaces (sysfs dirs and files), design and implementation details are described here. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/Documentation/dst/algorithms.txt b/Documentati

[3/4] DST: Network state machine.

2008-01-22 Thread Evgeniy Polyakov
Network state machine. Includes network async processing state machine and related tasks. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/kst.c b/drivers/block/dst/kst.c new file mode 100644 index 000..4ff14ce --- /dev/null +++ b/drivers/block/dst

[4/4] DST: Algorithms used in distributed storage.

2008-01-22 Thread Evgeniy Polyakov
Algorithms used in distributed storage. Mirror and linear mapping code. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/alg_linear.c b/drivers/block/dst/alg_linear.c new file mode 100644 index 000..2f9ed65 --- /dev/null +++ b/drivers/blo

[0/4] DST: Distributed storage: Succumbed to live ant.

2008-01-22 Thread Evgeniy Polyakov
homepage: http://tservice.net.ru/~s0mbre/old/?section=projects&item=dst DST is also exported as a git tree available for clone and pull from http://tservice.net.ru/~s0mbre/archive/dst/dst.git Thank you. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> -- To unsubscribe from

Re: [Bugme-new] [Bug 9778] New: unregister_netdevice: waiting for [device] to become free

2008-01-21 Thread Evgeniy Polyakov
On Mon, Jan 21, 2008 at 03:14:45PM +0300, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > It looks like patch is still valid. > Here is a problem description as I undestood. > > When new device (let's talk about ethernet, since that is what I tested) > is being turned on, it ge

Re: [Bugme-new] [Bug 9778] New: unregister_netdevice: waiting for [device] to become free

2008-01-21 Thread Evgeniy Polyakov
me free. Usage count = 1 GC hits us: [ 124.839572] neigh_destroy: parms: 81003d8e8df0, dev: eth0, refcnt: 1, dev_refcnt: 11. [ 124.847813] neigh_parms_destroy: parms: 81003d8e8df0, dev: eth0, dev_refcnt: 1. [ 124.952026] ACPI: PCI interrupt for device :02:0d.0 disabled --

Re: SACK scoreboard

2008-01-09 Thread Evgeniy Polyakov
ly bad in another. For interested reader: results of the RCUfication of the kfree_skbmem() http://tservice.net.ru/~s0mbre/blog/devel/networking/2006/12/05 -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[4/4] DST: Algorithms used in distributed storage.

2007-12-26 Thread Evgeniy Polyakov
Algorithms used in distributed storage. Mirror and linear mapping code. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/alg_linear.c b/drivers/block/dst/alg_linear.c new file mode 100644 index 000..2f9ed65 --- /dev/null +++ b/drivers/blo

[3/4] DST: Network state machine.

2007-12-26 Thread Evgeniy Polyakov
Network state machine. Includes network async processing state machine and related tasks. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/kst.c b/drivers/block/dst/kst.c new file mode 100644 index 000..6d92014 --- /dev/null +++ b/drivers/block/dst

[1/4] DST: Distributed storage documentation.

2007-12-26 Thread Evgeniy Polyakov
Distributed storage documentation. Algorithms used in the system, userspace interfaces (sysfs dirs and files), design and implementation details are described here. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/Documentation/dst/algorithms.txt b/Documentati

[2/4] DST: Core distributed storage files.

2007-12-26 Thread Evgeniy Polyakov
Core distributed storage files. Include userspace interfaces, initialization, block layer bindings and other core functionality. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index b4c8319..ca6592d 100644 --- a/drivers

[0/4] DST: Distributed storage: Groundhogs strike back: no New Year for humans

2007-12-26 Thread Evgeniy Polyakov
ct's homepage: http://tservice.net.ru/~s0mbre/old/?section=projects&item=dst DST is also exported as a git tree available for clone and pull from http://tservice.net.ru/~s0mbre/archive/dst/dst.git Thank you. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> -- To unsubscribe from th

Re: Evgeniy Polyakov

2007-12-21 Thread Evgeniy Polyakov
0 bytes max > 554 5.0.0 Service unavailable This looks really strange for me - I will forward it to system admin of the university server where I have a mail. Likely is is because of some troubles with the mail queue or FS... Do not unsubscribe me :) -- Evgeniy Polyakov -- To unsubscribe f

Re: [0/4] DST: Distributed storage.

2007-12-18 Thread Evgeniy Polyakov
Hi David. On Tue, Dec 18, 2007 at 12:00:04PM +1100, David Chinner ([EMAIL PROTECTED]) wrote: > On Mon, Dec 17, 2007 at 06:03:38PM +0300, Evgeniy Polyakov wrote: > > DST passed all FS tests in LTP with XFS (modulo MAX_LOCK_DEPTH too low bug: > > [ 8398.605691] BUG: MAX_LOC

[4/4] DST: Algorithms used in distributed storage.

2007-12-17 Thread Evgeniy Polyakov
Algorithms used in distributed storage. Mirror and linear mapping code. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/alg_linear.c b/drivers/block/dst/alg_linear.c new file mode 100644 index 000..836764d --- /dev/null +++ b/drivers/blo

[1/4] DST: Distributed storage documentation.

2007-12-17 Thread Evgeniy Polyakov
Distributed storage documentation. Algorithms used in the system, userspace interfaces (sysfs dirs and files), design and implementation details are described here. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/Documentation/dst/algorithms.txt b/Documentati

[2/4] DST: Core distributed storage files.

2007-12-17 Thread Evgeniy Polyakov
Core distributed storage files. Include userspace interfaces, initialization, block layer bindings and other core functionality. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index b4c8319..ca6592d 100644 --- a/drivers

[3/4] DST: Network state machine.

2007-12-17 Thread Evgeniy Polyakov
Network state machine. Includes network async processing state machine and related tasks. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/kst.c b/drivers/block/dst/kst.c new file mode 100644 index 000..6d92014 --- /dev/null +++ b/drivers/block/dst

[0/4] DST: Distributed storage.

2007-12-17 Thread Evgeniy Polyakov
5691] BUG: MAX_LOCK_DEPTH too low! [ 8398.609641] turning off the locking correctness validator. this is not DST problem though), but it was not performed with offline/online nodes. Thank you. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> -- To unsubscribe from this list: send the li

Re: Badness at net/core/dev.c:2199

2007-12-16 Thread Evgeniy Polyakov
if ((status & 0x38000300) != 0x0300) { > > > > > > I already sendout a correct patch last week. It should pre-increment. That will work too. Thanks Stephen. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Badness at net/core/dev.c:2199

2007-12-16 Thread Evgeniy Polyakov
ome equal to budget and thus loop has to break, check on the same 154 line will become false, but work_done will be increased nevertheless, which will make work_done being equal to budget+1 at exit, which will fire warning you saw. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --g

Re: [3/4] DST: Network state machine.

2007-12-13 Thread Evgeniy Polyakov
On Thu, Dec 13, 2007 at 11:43:43PM +0300, Dmitry Monakhov ([EMAIL PROTECTED]) wrote: > On 14:47 Mon 10 Dec , Evgeniy Polyakov wrote: > > > > Network state machine. > > > > Includes network async processing state machine and related tasks. > Hi, I've trie

Re: What was the reason for 2.6.22 SMP kernels to change how sendmsg is called?

2007-12-13 Thread Evgeniy Polyakov
code stopped working after some network changes, which broke the stuff. >Now in 2.6.22 and later kernels you must use the higher level SOCKET to >make a call to PROTO_OPS then to sendmsg(). e.g., socket->ops->sendmsg(). It was done because of bug found in inet_sendmsg(), which tri

Re: [4/4] DST: Algorithms used in distributed storage.

2007-12-12 Thread Evgeniy Polyakov
On Wed, Dec 12, 2007 at 12:12:47PM +0300, Dmitry Monakhov ([EMAIL PROTECTED]) wrote: > On 14:47 Mon 10 Dec , Evgeniy Polyakov wrote: > > > > Algorithms used in distributed storage. > > Mirror and linear mapping code. > Hi, i've finally take a look on your DST s

Re: [1/4] DST: Distributed storage documentation.

2007-12-10 Thread Evgeniy Polyakov
On Mon, Dec 10, 2007 at 08:56:49PM +0100, Kay Sievers ([EMAIL PROTECTED]) wrote: > On Mon, 2007-12-10 at 22:51 +0300, Evgeniy Polyakov wrote: > > On Mon, Dec 10, 2007 at 08:44:55PM +0100, Kay Sievers ([EMAIL PROTECTED]) > > wrote: > > > > > > Actually not - I

Re: [1/4] DST: Distributed storage documentation.

2007-12-10 Thread Evgeniy Polyakov
torage will not be able to build as > > standalone module, and kref_set() itself will not be accepted as a single > > patch, since there are no in-kernel users :) > > It is easily doable though. > > Most rules have exceptions. :) Send a patch, so we can see how it looks >

Re: [1/4] DST: Distributed storage documentation.

2007-12-10 Thread Evgeniy Polyakov
age files, it is common for every storage device; node files, which are the same for every node; and per-algorithm private devices - they can be different (actually only mirroring algorithm exports something to userspace). I think it is possible to use default attributes for storage devices, but node device does not have a bus/class, so they will be untouched. > Thanks, > Kay -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [1/4] DST: Distributed storage documentation.

2007-12-10 Thread Evgeniy Polyakov
On Mon, Dec 10, 2007 at 05:50:55PM +0300, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > > Further questions: > > Why do you do your own refcounting instead of using kref? > > That's because I always used atomic operations as a reference counters > and did not tried kr

Re: [1/4] DST: Distributed storage documentation.

2007-12-10 Thread Evgeniy Polyakov
to register them in a loop than typing another structure :) > Why don't you use default attributes for the device, where you get all > error handling done by the core. What is 'default attributes' and for what devices? All my sysfs files are so much trivial, so they do not need anything special and I do not see what is error handling you mentioned. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [1/4] DST: Distributed storage documentation.

2007-12-10 Thread Evgeniy Polyakov
On Mon, Dec 10, 2007 at 01:51:43PM +0100, Kay Sievers ([EMAIL PROTECTED]) wrote: > On Dec 10, 2007 12:47 PM, Evgeniy Polyakov <[EMAIL PROTECTED]> wrote: > > diff --git a/Documentation/dst/sysfs.txt b/Documentation/dst/sysfs.txt > > new file mode 100644 > > index 000

[2/4] DST: Core distributed storage files.

2007-12-10 Thread Evgeniy Polyakov
Core distributed storage files. Include userspace interfaces, initialization, block layer bindings and other core functionality. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index b4c8319..ca6592d 100644 --- a/drivers

[4/4] DST: Algorithms used in distributed storage.

2007-12-10 Thread Evgeniy Polyakov
Algorithms used in distributed storage. Mirror and linear mapping code. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/alg_linear.c b/drivers/block/dst/alg_linear.c new file mode 100644 index 000..9dc0976 --- /dev/null +++ b/drivers/blo

[3/4] DST: Network state machine.

2007-12-10 Thread Evgeniy Polyakov
Network state machine. Includes network async processing state machine and related tasks. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/kst.c b/drivers/block/dst/kst.c new file mode 100644 index 000..8fa3387 --- /dev/null +++ b/drivers/block/dst

[1/4] DST: Distributed storage documentation.

2007-12-10 Thread Evgeniy Polyakov
Distributed storage documentation. Algorithms used in the system, userspace interfaces (sysfs dirs and files), design and implementation details are described here. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/Documentation/dst/algorithms.txt b/Documentati

[0/4] DST: Distributed storage.

2007-12-10 Thread Evgeniy Polyakov
project's homepage: http://tservice.net.ru/~s0mbre/old/?section=projects&item=dst Thank you. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: TCP event tracking via netlink...

2007-12-06 Thread Evgeniy Polyakov
luding sequence numbers, window sizes and so on. It just requires a useful structure layout placed, so that one would not require to recreate the same bits again, so that it could be called from any place inside the stack. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line &

Re: TCP event tracking via netlink...

2007-12-05 Thread Evgeniy Polyakov
similar to what these guys are doing with SIFTR for FreeBSD: > http://caia.swin.edu.au/urp/newtcp/tools.html > http://caia.swin.edu.au/reports/070824A/CAIA-TR-070824A.pdf And even more similar to this patch from Samir Bellabes of Mandriva: http://lwn.net/Articles/202255/ -- Evgeniy Polyakov --

Re: [0/4] DST: Distributed storage.

2007-12-04 Thread Evgeniy Polyakov
verhead, I just did not know that it was allowed and thus did not have a check in the DST. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [0/4] DST: Distributed storage.

2007-12-04 Thread Evgeniy Polyakov
ntinue to process requests if previous ones have not reached media yet, thus I have not yet implemented barriers. > regards, > Mike -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Netchannels. The 22'th century release.

2007-12-04 Thread Evgeniy Polyakov
ks to Salvatore Del Popolo <[EMAIL PROTECTED]> for testing. 1. Netchannels homepage. http://tservice.net.ru/~s0mbre/old/?section=projects&item=netchannel 2. Userspace network stack. http://tservice.net.ru/~s0mbre/old/?section=projects&item=unetstack Signed-off-by: Evgeniy Polyakov <[E

[2/4] DST: Core distributed storage files.

2007-12-04 Thread Evgeniy Polyakov
Core distributed storage files. Include userspace interfaces, initialization, block layer bindings and other core functionality. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index b4c8319..ca6592d 100644 --- a/drivers

[3/4] DST: Network state machine.

2007-12-04 Thread Evgeniy Polyakov
Network state machine. Includes network async processing state machine and related tasks. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/kst.c b/drivers/block/dst/kst.c new file mode 100644 index 000..8fa3387 --- /dev/null +++ b/drivers/block/dst

[1/4] DST: Distributed storage documentation.

2007-12-04 Thread Evgeniy Polyakov
Distributed storage documentation. Algorithms used in the system, userspace interfaces (sysfs dirs and files), design and implementation details are described here. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/Documentation/dst/algorithms.txt b/Documentati

[0/4] DST: Distributed storage.

2007-12-04 Thread Evgeniy Polyakov
xtension patches. Overall list of features of the DST can be found on project's homepage: http://tservice.net.ru/~s0mbre/old/?section=projects&item=dst Thank you. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> -- To unsubscribe from this list: send the line "unsubscrib

[4/4] DST: Algorithms used in distributed storage.

2007-12-04 Thread Evgeniy Polyakov
Algorithms used in distributed storage. Mirror and linear mapping code. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/alg_linear.c b/drivers/block/dst/alg_linear.c new file mode 100644 index 000..cb77b57 --- /dev/null +++ b/drivers/blo

Re: [1/4] dst: Distributed storage documentation.

2007-12-03 Thread Evgeniy Polyakov
tartup time (support checksums and storage size autonegotiation). It is possible to turn one of the mirror nodes off and use it as a offline backup, since dst mirror node stores data at the end of the storage, so it can be mounted locally. -- Evgeniy Polyakov -- To unsubscribe from this list:

Re: [Bugme-new] [Bug 9440] New: Problem in joinning a socket to ipv6 multicast address in specific scenario

2007-11-30 Thread Evgeniy Polyakov
On Fri, Nov 30, 2007 at 11:02:19PM +1100, Herbert Xu ([EMAIL PROTECTED]) wrote: > OK, this looks like a good change. However, we should also > change NETDEV_UP as well to recreate idev if it isn't there > and the MTU is big enough. Ok, added netdev_up too. Signed-off-by: Ev

Netchannels. The 21'th release.

2007-11-29 Thread Evgeniy Polyakov
blems reported by Salvatore Del Popolo <[EMAIL PROTECTED]> * removed nat user 1. Netchannels homepage. http://tservice.net.ru/~s0mbre/old/?section=projects&item=netchannel 2. Userspace network stack. http://tservice.net.ru/~s0mbre/old/?section=projects&item=unetstack Signed-off-b

[2/4] dst: Core distributed storage files.

2007-11-29 Thread Evgeniy Polyakov
Core distributed storage files. Include userspace interfaces, initialization, block layer bindings and other core functionality. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index b4c8319..ca6592d 100644 --- a/drivers

[3/4] dst: Network state machine.

2007-11-29 Thread Evgeniy Polyakov
Network state machine. Includes network async processing state machine and related tasks. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/kst.c b/drivers/block/dst/kst.c new file mode 100644 index 000..ba5e5ef --- /dev/null +++ b/drivers/block/dst

[4/4] dst: Algorithms used in distributed storage.

2007-11-29 Thread Evgeniy Polyakov
Algorithms used in distributed storage. Mirror and linear mapping code. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/alg_linear.c b/drivers/block/dst/alg_linear.c new file mode 100644 index 000..cb77b57 --- /dev/null +++ b/drivers/blo

[1/4] dst: Distributed storage documentation.

2007-11-29 Thread Evgeniy Polyakov
Distributed storage documentation. Algorithms used in the system, userspace interfaces (sysfs dirs and files), design and implementation details are described here. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/Documentation/dst/algorithms.txt b/Documentati

[0/4] dst: Distributed storage.

2007-11-29 Thread Evgeniy Polyakov
tapeworm' Overall list of features of the DST can be found on project's homepage: http://tservice.net.ru/~s0mbre/old/?section=projects&item=dst Thank you. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe n

Re: [Bugme-new] [Bug 9440] New: Problem in joinning a socket to ipv6 multicast address in specific scenario

2007-11-28 Thread Evgeniy Polyakov
bac. This patch fixes that. Tested with Avaid's application, which works ok now. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 567664e..4f7e46c 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -2357,

Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable()

2007-11-23 Thread Evgeniy Polyakov
On Fri, Nov 23, 2007 at 10:54:10PM +0300, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > On Fri, Nov 23, 2007 at 01:41:39PM -0600, Matt Mackall ([EMAIL PROTECTED]) > wrote: > > Here's another thought: move all this logic into the networking core, > > unify it with curre

Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable()

2007-11-23 Thread Evgeniy Polyakov
d __kfree_skb(struct sk_buff *skb) { +#if defined(CONFIG_NETPOLL) || defined(CONFIG_NETPOLL_TRAP) + if (in_irq() || irqs_disabled()) { + dev_kfree_skb_irq(skb); + return; + } +#endif dst_release(skb->dst); #ifdef CONFIG_XFRM secpath_put

Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable()

2007-11-23 Thread Evgeniy Polyakov
On Fri, Nov 23, 2007 at 01:11:20PM -0600, Matt Mackall ([EMAIL PROTECTED]) wrote: > On Fri, Nov 23, 2007 at 09:59:06PM +0300, Evgeniy Polyakov wrote: > > On Fri, Nov 23, 2007 at 09:51:01PM +0300, Evgeniy Polyakov ([EMAIL > > PROTECTED]) wrote: > > > On Fri, Nov 23,

Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable()

2007-11-23 Thread Evgeniy Polyakov
ueue though in > > that conditions given that we actually need only one. > > Huh? Don't mind - friday... I posted a patch (third one should be ok) to fix this issue. -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable()

2007-11-23 Thread Evgeniy Polyakov
On Fri, Nov 23, 2007 at 09:51:01PM +0300, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > On Fri, Nov 23, 2007 at 09:48:51PM +0300, Evgeniy Polyakov ([EMAIL > PROTECTED]) wrote: > > Stop, we are trying to free skb without destructor and catch connection > > tracking, so it is

Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable()

2007-11-23 Thread Evgeniy Polyakov
On Fri, Nov 23, 2007 at 09:48:51PM +0300, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > Stop, we are trying to free skb without destructor and catch connection > tracking, so it is not a solution. To fix the problem we need to check > if it is not netfilter related, kind of this (n

Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable()

2007-11-23 Thread Evgeniy Polyakov
On Fri, Nov 23, 2007 at 08:57:57PM +0300, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > > My memory here is hazy, but I think this exists to rescue netconsole > > in low-memory situations. This bit originated with Ingo, so maybe he > > can recall. > > > > Netpoll c

Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable()

2007-11-23 Thread Evgeniy Polyakov
On Fri, Nov 23, 2007 at 11:07:56AM -0600, Matt Mackall ([EMAIL PROTECTED]) wrote: > On Fri, Nov 23, 2007 at 01:55:19PM +0300, Evgeniy Polyakov wrote: > > On Fri, Nov 23, 2007 at 12:21:57AM -0800, Andrew Morton ([EMAIL PROTECTED]) > > wrote: > > > > [2059664.615816]

Re: 2.6.23 WARNING: at kernel/softirq.c:139 local_bh_enable()

2007-11-23 Thread Evgeniy Polyakov
eeing skb in interrupt context, which is not allowed, and in interrupt skbs are queued to be freed in softirq, but netcnsole wants to flush softirq freeing queue. That is a question: why? Removing zap_completion_queue() from find_skb() will fix the warning, but I'm not sure this is a correct

Re: [Bugme-new] [Bug 9440] New: Problem in joinning a socket to ipv6 multicast address in specific scenario

2007-11-23 Thread Evgeniy Polyakov
ran without external dependencies, it will be fixed way much faster. Thanks. -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[take8 4/4] dst: Algorithms used in distributed storage.

2007-11-20 Thread Evgeniy Polyakov
Algorithms used in distributed storage. Mirror and linear mapping code. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/alg_linear.c b/drivers/block/dst/alg_linear.c new file mode 100644 index 000..cb77b57 --- /dev/null +++ b/drivers/blo

[take8 3/4] dst: Network state machine.

2007-11-20 Thread Evgeniy Polyakov
Network state machine. Includes network async processing state machine and related tasks. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/kst.c b/drivers/block/dst/kst.c new file mode 100644 index 000..ba5e5ef --- /dev/null +++ b/drivers/block/dst

[take8 0/4] dst: Distributed storage.

2007-11-20 Thread Evgeniy Polyakov
Thank you. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[take8 2/4] dst: Core distributed storage files.

2007-11-20 Thread Evgeniy Polyakov
Core distributed storage files. Include userspace interfaces, initialization, block layer bindings and other core functionality. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index b4c8319..ca6592d 100644 --- a/drivers

[take8 1/4] dst: Distributed storage documentation.

2007-11-20 Thread Evgeniy Polyakov
Distributed storage documentation. Algorithms used in the system, userspace interfaces (sysfs dirs and files), design and implementation details are described here. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/Documentation/dst/algorithms.txt b/Documentati

Re: [PATCH] LRO ack aggregation

2007-11-20 Thread Evgeniy Polyakov
bad, so my proposal is to write the code, which is tunable from userspace, turn it off and allow people to test the change. -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo in

Re: [PATCH] LRO ack aggregation

2007-11-20 Thread Evgeniy Polyakov
On Tue, Nov 20, 2007 at 09:50:56PM +0800, Herbert Xu ([EMAIL PROTECTED]) wrote: > On Tue, Nov 20, 2007 at 04:35:09PM +0300, Evgeniy Polyakov wrote: > > > > On Tue, Nov 20, 2007 at 08:27:05AM -0500, Andrew Gallatin ([EMAIL > > PROTECTED]) wrote: > > > Hmm.. rather

Re: [PATCH] LRO ack aggregation

2007-11-20 Thread Evgeniy Polyakov
RO_simple and LRO_ACK_aggregation? -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Netfilter: kernel panic with REDIRECT target. (2.6.23 and 2.6.23.8)

2007-11-20 Thread Evgeniy Polyakov
On Tue, Nov 20, 2007 at 01:24:17PM +0100, Patrick McHardy ([EMAIL PROTECTED]) wrote: > Patrick McHardy wrote: > >Evgeniy Polyakov wrote: > >>>>>Ok, let's try it hard way. > >>>>>Please check attached patch and tell if it helped (it will produce

Re: Netfilter: kernel panic with REDIRECT target. (2.6.23 and 2.6.23.8)

2007-11-20 Thread Evgeniy Polyakov
g already freed and thus not required to be copied. Frankly saying, it can be not the correct fix, but from code observation and test, perfomed by David <[EMAIL PROTECTED]> it is. Actually looking at this function I suspect it was copied from nf_nat_setup_info() and thus bug was introduced.

Re: Netfilter: kernel panic with REDIRECT target. (2.6.23 and 2.6.23.8)

2007-11-19 Thread Evgeniy Polyakov
On Mon, Nov 19, 2007 at 10:24:23PM +0300, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > On Mon, Nov 19, 2007 at 06:51:38PM +, David ([EMAIL PROTECTED]) wrote: > > Patrick McHardy wrote: > > >>>> iptables -t nat -A PREROUTING -j REDIRECT -i eth2 -p udp --dport &g

Re: Netfilter: kernel panic with REDIRECT target. (2.6.23 and 2.6.23.8)

2007-11-19 Thread Evgeniy Polyakov
|| !(ct->status & IPS_NAT_DONE_MASK)) return; - srchash = hash_by_src(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple); - write_lock_bh(&nf_nat_lock); hlist_replace_rcu(&old_nat->bysource, &new_nat->bysource); new_nat->ct = ct; -

Re: Re : Bug in using inet_lookup ()

2007-11-16 Thread Evgeniy Polyakov
; case TCP_SYN_SENT: > .. > } >bh_unlock_sock (sk); > ... > /* send reply via Netlink */ This code _NEVER_ calls inet_lookup(), since the first ckeck for s_skb->dev will fail and you will select device via your list and then never return to inet_lookup(). Anyway, until your

Re: Re : Re : Re : Re : Bug in using inet_lookup ()

2007-11-15 Thread Evgeniy Polyakov
tcp_hashinfo, 0, 0, 0, 0, 0) fails :) > Is there any clean manner to come across this issue? Yes, to show the code you are using. Sorry, all mind readers are on vacations. -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe netdev" in the

Re: Re : Re : Re : Bug in using inet_lookup ()

2007-11-15 Thread Evgeniy Polyakov
s just like before - you provide empty skb to the inet_iif(), which is wrong. Actually you will not even reach that point, since your code will exit after skb->dev check. Try simple inet_lookup(&tcp_hashinfo, src, p_src, dst, p_dst, 0). It does work. -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Null pointer dereference in nf_nat_move_storage(), kernel 2.6.23.1

2007-11-15 Thread Evgeniy Polyakov
p above checks for own extension, but tries to move higer-layer one, which can lead to above oops. Not tested, derived from code observation only. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/net/netfilter/nf_conntrack_extend.c b/net/netfilter/nf_conntrack_extend.c index a1

Re: Re : Re : Bug in using inet_lookup ()

2007-11-15 Thread Evgeniy Polyakov
You mean after you provide zero to inet_lookup() instead of device id it strted to reboot? -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Re : Bug in using inet_lookup ()

2007-11-14 Thread Evgeniy Polyakov
you will need interface index (dev->ifindex). You can find socket by using that number instead of dereferencing dst. -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

  1   2   3   4   5   6   7   8   9   10   >