| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | drbd_proc.c |
|---|
| 3 | 4 | |
|---|
| .. | .. |
|---|
| 7 | 8 | Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. |
|---|
| 8 | 9 | Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. |
|---|
| 9 | 10 | |
|---|
| 10 | | - drbd is free software; you can redistribute it and/or modify |
|---|
| 11 | | - it under the terms of the GNU General Public License as published by |
|---|
| 12 | | - the Free Software Foundation; either version 2, or (at your option) |
|---|
| 13 | | - any later version. |
|---|
| 14 | | - |
|---|
| 15 | | - drbd is distributed in the hope that it will be useful, |
|---|
| 16 | | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 17 | | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 18 | | - GNU General Public License for more details. |
|---|
| 19 | | - |
|---|
| 20 | | - You should have received a copy of the GNU General Public License |
|---|
| 21 | | - along with drbd; see the file COPYING. If not, write to |
|---|
| 22 | | - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
|---|
| 23 | 11 | |
|---|
| 24 | 12 | */ |
|---|
| 25 | 13 | |
|---|
| .. | .. |
|---|
| 277 | 265 | seq_printf(seq, "%2d: cs:Unconfigured\n", i); |
|---|
| 278 | 266 | } else { |
|---|
| 279 | 267 | /* reset device->congestion_reason */ |
|---|
| 280 | | - bdi_rw_congested(device->rq_queue->backing_dev_info); |
|---|
| 281 | 268 | |
|---|
| 282 | 269 | nc = rcu_dereference(first_peer_device(device)->connection->net_conf); |
|---|
| 283 | 270 | wp = nc ? nc->wire_protocol - DRBD_PROT_A + 'A' : ' '; |
|---|