Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
c1152949
Commit
c1152949
authored
Dec 31, 2009
by
Jens Axboe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-jens' of
git://git.drbd.org/linux-2.6-drbd
into for-linus
parents
08d869aa
367a8d73
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
drivers/block/drbd/Kconfig
drivers/block/drbd/Kconfig
+1
-1
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_main.c
+1
-0
drivers/block/drbd/drbd_nl.c
drivers/block/drbd/drbd_nl.c
+1
-1
drivers/block/drbd/drbd_receiver.c
drivers/block/drbd/drbd_receiver.c
+5
-4
No files found.
drivers/block/drbd/Kconfig
View file @
c1152949
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#
#
comment "DRBD disabled because PROC_FS, INET or CONNECTOR not selected"
comment "DRBD disabled because PROC_FS, INET or CONNECTOR not selected"
depends on
!PROC_FS || !INET || !CONNECTOR
depends on
PROC_FS='n' || INET='n' || CONNECTOR='n'
config BLK_DEV_DRBD
config BLK_DEV_DRBD
tristate "DRBD Distributed Replicated Block Device support"
tristate "DRBD Distributed Replicated Block Device support"
...
...
drivers/block/drbd/drbd_main.c
View file @
c1152949
...
@@ -1298,6 +1298,7 @@ static void after_state_ch(struct drbd_conf *mdev, union drbd_state os,
...
@@ -1298,6 +1298,7 @@ static void after_state_ch(struct drbd_conf *mdev, union drbd_state os,
dev_err
(
DEV
,
"Sending state in drbd_io_error() failed
\n
"
);
dev_err
(
DEV
,
"Sending state in drbd_io_error() failed
\n
"
);
}
}
wait_event
(
mdev
->
misc_wait
,
!
atomic_read
(
&
mdev
->
local_cnt
));
lc_destroy
(
mdev
->
resync
);
lc_destroy
(
mdev
->
resync
);
mdev
->
resync
=
NULL
;
mdev
->
resync
=
NULL
;
lc_destroy
(
mdev
->
act_log
);
lc_destroy
(
mdev
->
act_log
);
...
...
drivers/block/drbd/drbd_nl.c
View file @
c1152949
...
@@ -1271,7 +1271,7 @@ static int drbd_nl_net_conf(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp,
...
@@ -1271,7 +1271,7 @@ static int drbd_nl_net_conf(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp,
goto
fail
;
goto
fail
;
}
}
if
(
crypto_tfm_alg_type
(
crypto_hash_tfm
(
tfm
))
!=
CRYPTO_ALG_TYPE_SHASH
)
{
if
(
!
drbd_crypto_is_hash
(
crypto_hash_tfm
(
tfm
))
)
{
retcode
=
ERR_AUTH_ALG_ND
;
retcode
=
ERR_AUTH_ALG_ND
;
goto
fail
;
goto
fail
;
}
}
...
...
drivers/block/drbd/drbd_receiver.c
View file @
c1152949
...
@@ -1201,10 +1201,11 @@ static int receive_Barrier(struct drbd_conf *mdev, struct p_header *h)
...
@@ -1201,10 +1201,11 @@ static int receive_Barrier(struct drbd_conf *mdev, struct p_header *h)
case
WO_bdev_flush
:
case
WO_bdev_flush
:
case
WO_drain_io
:
case
WO_drain_io
:
D_ASSERT
(
rv
==
FE_STILL_LIVE
);
if
(
rv
==
FE_STILL_LIVE
)
{
set_bit
(
DE_BARRIER_IN_NEXT_EPOCH_ISSUED
,
&
mdev
->
current_epoch
->
flags
);
set_bit
(
DE_BARRIER_IN_NEXT_EPOCH_ISSUED
,
&
mdev
->
current_epoch
->
flags
);
drbd_wait_ee_list_empty
(
mdev
,
&
mdev
->
active_ee
);
drbd_wait_ee_list_empty
(
mdev
,
&
mdev
->
active_ee
);
rv
=
drbd_flush_after_epoch
(
mdev
,
mdev
->
current_epoch
);
rv
=
drbd_flush_after_epoch
(
mdev
,
mdev
->
current_epoch
);
}
if
(
rv
==
FE_RECYCLED
)
if
(
rv
==
FE_RECYCLED
)
return
TRUE
;
return
TRUE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment