All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <1485192333.34422.1.camel@primarydata.com>

diff --git a/a/1.txt b/N1/1.txt
index a4e04ed..6d7751a 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,19 +1,27 @@
-T24gTW9uLCAyMDE3LTAxLTIzIGF0IDE3OjI2ICswMTAwLCBoY2ggd3JvdGU6DQo+IE9uIE1vbiwg
-SmFuIDIzLCAyMDE3IGF0IDA0OjIwOjQ1UE0gKzAwMDAsIFRyb25kIE15a2xlYnVzdCB3cm90ZToN
-Cj4gPiBOb3RlIHRoYXQgdGhlIFBPU0lYIHNwZWMgc2VlbXMgdG8gaGF2ZSBjaGFuZ2VkIHJlY2Vu
-dGx5LiBUaGUNCj4gPiBjdXJyZW50DQo+ID4gc3BlYyBhcHBlYXJzIHRvIHN0YXRlIHRoYXQgd2Ug
-c2hvdWxkIHNldCB0aGUgbXRpbWUgYW5kIGN0aW1lIChhbmQNCj4gPiBjaGFuZ2UgYXR0cmlidXRl
-KSBvbiBzdWNjZXNzIGluIG9wZW4oT19UUlVOQyksIHRydW5jYXRlKCkgYW5kDQo+ID4gZnRydW5j
-YXRlKCkuIEluIHByZXZpb3VzIGluY2FybmF0aW9ucyBvZiB0aGUgc3BlYywgdHJ1bmNhdGUoKSB3
-b3VsZA0KPiA+IG9ubHkgc2V0IHRoZSB0aW1lIGlmIHRoZSBzaXplIHdhcyBjaGFuZ2VkOg0KPiAN
-Cj4gSW50ZXJlc3RpbmcuwqDCoEJ1dCBpbiB0aGlzIGNhc2UgaGlzdG9yaWNhbCBQb3NpeCBhbmQg
-dGh1cyBMaW51eA0KPiBiZWhhdmlvcg0KPiBzdGlsbCB0YWtlcyBwcmVjZWRlbmNlIGFuZCB3ZSdy
-ZSBub3Qgc3VkZGVudGx5IGdvaW5nIHRvIGNoYW5nZQ0KPiBiZWhhdmlvci4NCj4gDQoNCg0KSW4g
-dGhhdCBjYXNlIHRoZSBjbGllbnQgd2lsbCBiZSByZXF1aXJlZCB0byBjb250aW51ZSB0byBuZWVk
-IHRvIHNlbmQNCm10aW1lL2N0aW1lIGluIG9yZGVyIHRvIGVuc3VyZSB0aGF0IHdlIGdldCB0aGUg
-c2FtZSBoaXN0b3JpY2FsDQpzZW1hbnRpY3Mgdy5yLnQuIGZ0cnVuY2F0ZSgpIHZzIHRydW5jYXRl
-KCkuDQoNCklPVzogSXQncyBub3QgYSBxdWVzdGlvbiBvZiB0aGUgY2xpZW50IGJlaW5nIGxhenkg
-YWJvdXQgY2xlYXJpbmcgdGhlDQpmbGFncy4gSXQncyBhIHF1ZXN0aW9uIG9mIGVuZm9yY2luZyB0
-aGUgY29ycmVjdCBzZW1hbnRpY3MuDQoNCi0tIA0KVHJvbmQgTXlrbGVidXN0DQpMaW51eCBORlMg
-Y2xpZW50IG1haW50YWluZXIsIFByaW1hcnlEYXRhDQp0cm9uZC5teWtsZWJ1c3RAcHJpbWFyeWRh
-dGEuY29tDQo=
+On Mon, 2017-01-23 at 17:26 +0100, hch wrote:
+> On Mon, Jan 23, 2017 at 04:20:45PM +0000, Trond Myklebust wrote:
+> > Note that the POSIX spec seems to have changed recently. The
+> > current
+> > spec appears to state that we should set the mtime and ctime (and
+> > change attribute) on success in open(O_TRUNC), truncate() and
+> > ftruncate(). In previous incarnations of the spec, truncate() would
+> > only set the time if the size was changed:
+> 
+> Interesting.  But in this case historical Posix and thus Linux
+> behavior
+> still takes precedence and we're not suddently going to change
+> behavior.
+> 
+
+
+In that case the client will be required to continue to need to send
+mtime/ctime in order to ensure that we get the same historical
+semantics w.r.t. ftruncate() vs truncate().
+
+IOW: It's not a question of the client being lazy about clearing the
+flags. It's a question of enforcing the correct semantics.
+
+-- 
+Trond Myklebust
+Linux NFS client maintainer, PrimaryData
+trond.myklebust@primarydata.com
diff --git a/a/content_digest b/N1/content_digest
index 694f532..2eed0b7 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -17,24 +17,32 @@
  " linux-fsdevel@vger.kernel.org <linux-f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lL2N0aW1lIGluIG9yZGVyIHRvIGVuc3VyZSB0aGF0IHdlIGdldCB0aGUg\n"
- "c2FtZSBoaXN0b3JpY2FsDQpzZW1hbnRpY3Mgdy5yLnQuIGZ0cnVuY2F0ZSgpIHZzIHRydW5jYXRl\n"
- "KCkuDQoNCklPVzogSXQncyBub3QgYSBxdWVzdGlvbiBvZiB0aGUgY2xpZW50IGJlaW5nIGxhenkg\n"
- "YWJvdXQgY2xlYXJpbmcgdGhlDQpmbGFncy4gSXQncyBhIHF1ZXN0aW9uIG9mIGVuZm9yY2luZyB0\n"
- "aGUgY29ycmVjdCBzZW1hbnRpY3MuDQoNCi0tIA0KVHJvbmQgTXlrbGVidXN0DQpMaW51eCBORlMg\n"
- "Y2xpZW50IG1haW50YWluZXIsIFByaW1hcnlEYXRhDQp0cm9uZC5teWtsZWJ1c3RAcHJpbWFyeWRh\n"
- dGEuY29tDQo=
+ "On Mon, 2017-01-23 at 17:26 +0100, hch wrote:\n"
+ "> On Mon, Jan 23, 2017 at 04:20:45PM +0000, Trond Myklebust wrote:\n"
+ "> > Note that the POSIX spec seems to have changed recently. The\n"
+ "> > current\n"
+ "> > spec appears to state that we should set the mtime and ctime (and\n"
+ "> > change attribute) on success in open(O_TRUNC), truncate() and\n"
+ "> > ftruncate(). In previous incarnations of the spec, truncate() would\n"
+ "> > only set the time if the size was changed:\n"
+ "> \n"
+ "> Interesting.\302\240\302\240But in this case historical Posix and thus Linux\n"
+ "> behavior\n"
+ "> still takes precedence and we're not suddently going to change\n"
+ "> behavior.\n"
+ "> \n"
+ "\n"
+ "\n"
+ "In that case the client will be required to continue to need to send\n"
+ "mtime/ctime in order to ensure that we get the same historical\n"
+ "semantics w.r.t. ftruncate() vs truncate().\n"
+ "\n"
+ "IOW: It's not a question of the client being lazy about clearing the\n"
+ "flags. It's a question of enforcing the correct semantics.\n"
+ "\n"
+ "-- \n"
+ "Trond Myklebust\n"
+ "Linux NFS client maintainer, PrimaryData\n"
+ trond.myklebust@primarydata.com
 
-123296667cfb2de6e4b3e07a4f9cc3489a82a10526d7af5ee5c5f9cd6360e7e3
+24b2bbf91948c09494dc2df4cce6a4509c2dd5cd8613b923ad67f1f975eb3571

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.