From nobody Fri Jan 10 15:31:32 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YV5HD5Kwbz5kWgd for ; Fri, 10 Jan 2025 15:31:52 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YV5HD39bwz55m5; Fri, 10 Jan 2025 15:31:52 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-5d982bce8f9so3985155a12.1; Fri, 10 Jan 2025 07:31:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736523110; x=1737127910; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=BB8mFyoB6wRhYMXbiBcg9iMSXoQffDdqUYNovtOw204=; b=j34PeGUikRlW0Mj4cYBq18ZJC2ZM6Wbi2HpYfdom67hs0axUffFhbeptjvJKbyO8DK ewbwKrK4f9ewiPTjZaI8QED9+MCDmCikMN3eWCjl2KIzW2yA/ndgcHsGhHC9YUndEt+S PuBPxiqciECRZDaehKXvXLquZMSZI7vKhD2++J2eRnXHQdLNUaoihsHJYqEFTclDb1R3 FzJCnRI/n1Lw+8KwmI2octso9kivV6j9VwYQiUL7Cvp6nnt8fXUdGKU228I15dGXeJY2 pgAJyKT6dflYgv8fXjJZmtCFia+lfy6NZxw0aAo51laK5T96d0yYnaWqLLyT87gZHGku /WDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736523110; x=1737127910; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BB8mFyoB6wRhYMXbiBcg9iMSXoQffDdqUYNovtOw204=; b=M2CGTOEPoGvsfc9MSH0022r5SzSq770pfwp0M4rtP62RU0bQTkdomJbEOe+sj55qox 6wOHgk19qahhbATlMkZyY6Ewi+zBhvzdo/aFzhuIikXtBEXhH/f6jvrcMPY19ie+BHnk P+pDsDpNEw/bJkGO89RKu+3WD4mdCnZ7mVPGQrA0GjtcpdZ39jaYz9qllVOQSOda1/nJ C1LPaHfuYF2U4MeswGWOEIzxDkyFASG3INoMrbnQqSIaqO1ovgpIhj7UqB0V4xKMiqOZ iKBW3ZpkFBpBgbm/83ifC7sjwXFV3Rhsl6SOhgIhFShCiS98cC7PNJ5bH7VxgWy4qtOg GEiA== X-Forwarded-Encrypted: i=1; AJvYcCVRyq3KFflniHMfvz3P50gUzOY56kGN/iiqBLp5HqU5c7WOkUJwLYck29kSLgaY1Qm9Hf8wWYDRKSWQKfDt0e0=@freebsd.org X-Gm-Message-State: AOJu0Yx0lp9Ev2X3Ewm908N4RJrKy1HqHbwmF2x7tujhJYT1xGBol/9Y rjOKt51jK/4002IAfhil7dfc9m+8rC1VkCmVpUItTw9IoD4S291xWnYrXFdK92ULI7lSmjRUQtP KSH7rujamtwkW2ejSNSprwI/WbyEN X-Gm-Gg: ASbGncuFD47WDAUA58zBMuivUJJK5rIL0SNzygxFYrHn9UHX2ghxqdCjcUfAzGiCdxL yPibwav4cAY15+ZROYSMyWQp9mqk8phCmKQbyYfo0eq67JaUFrlGONOgSTSFxp+89hWqeedw= X-Google-Smtp-Source: AGHT+IEoJbI0u9F/eyowjk94baLrmoonarF6DXXLV2GEbn5kcRkq8ZSLG9WrdSFDRbbengLOXYausjKU2dgITqWtioM= X-Received: by 2002:a05:6402:274c:b0:5d3:e766:6143 with SMTP id 4fb4d7f45d1cf-5d972e7247cmr10741895a12.30.1736523109810; Fri, 10 Jan 2025 07:31:49 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Rick Macklem Date: Fri, 10 Jan 2025 07:31:32 -0800 X-Gm-Features: AbW1kvbjjICg_AfrRq9wkZ0Dnhphw-g_V8bvHJJF7lqAxzKzPnT4QUQB8N4vCCI Message-ID: Subject: Re: WRITE_SAME support in FreeBSD nfsd NFSv4.1 mode? To: Alan Somers Cc: Dan Shelton , freebsd-hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4YV5HD39bwz55m5 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] On Fri, Jan 10, 2025 at 7:02=E2=80=AFAM Alan Somers w= rote: > > On Thu, Jan 9, 2025 at 5:31=E2=80=AFPM Dan Shelton wrote: > > > > Hello! > > > > Does FreeBSD nfsd support the WRITE_SAME request in NFSv4.1 mode? Just fyi for other readers... A normal NFSv4.2 write pushes the data down the wire to the server. A WRITE= _SAME pushes a description of a data block and a repetition count down the wire to the server, allowing a lot of repetitive data to be written without sending it all down the wire (at least that is my understanding;-). I am not aware of any system call for this at this time, although there is active discussion of this on the Linux NFS mailing list. rick > > > > Dan > > -- > > Dan Shelton - Cluster Specialist Win/Lin/Bsd > > Out of curiosity, what is your use case? >